有没有大佬解决下,貌似模板出现问题了,抱歉不会上传图片500
Internal Server Error.
Request processing failed; nested exception is freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> category.slugName [in template "themes/ghost_casper/archives.ftl" at line 36, column 71] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${category.slugName} [in template "themes/ghost_casper/archives.ftl" at line 36, column 69] - Reached through: @categoryTag method="list" [in template "themes/ghost_casper/archives.ftl" at line 33, column 25] ~ Reached through: #nested [in template "themes/ghost_casper/default.ftl" in macro "default" at line 54, column 9] ~ Reached through: @default title="文章归档 | ${options.blog... [in template "themes/ghost_casper/archives.ftl" at line 2, column 1] ----