#author("2020-06-10T06:01:41+00:00","default:wikiwriter","wikiwriter") &tag(Hugo/hugo-icarus-theme); *目次 [#p070b149] #contents *関連ページ [#m595166b] *参考情報 [#v53d38c2] -[[digitalcraftsman/hugo-icarus-theme: Port of Ruipeng Zhang's Hexo theme Icarus to Hugo.:https://github.com/digitalcraftsman/hugo-icarus-theme]] -blog用のモダンなテーマ *トラブルシューティング [#pecda116] **「 render of "page" failed: execute of template failed: template:」エラーが発生 [#e9538372] -hugo server -Dで起動するといかのようなエラーが発生。 #pre{{ ERROR 2020/06/10 14:08:53 render of "page" failed: execute of template failed: template: _default/single.html:2:7: executing "main" at <partial "single_article" .>: error calling partial: execute of template failed: template: partials/single_article.html:7:11: executing "partials/single_article.html" at <partial "article_header" .>: error calling partial: "/Users/sora/work/hugoBasicExample/themes/hugo-icarus-theme/layouts/partials/article_header.html:12:87": execute of template failed: template: partials/article_header.html:12:87: executing "partials/article_header.html" at <.Site.Params.date_format>: invalid value; expected string }}} -非常に読みづらいけど一番のポイントは最後の「.Site.Params.date_format>: invalid value; expected string」ってところ。 -[[Hugo v0.55 で Hugo Icarus テーマ を使う · プログラミング日誌:https://antennal.net/blog/hugo-icarus-theme-1/]]にあるように、exampleSite/config.tomlの内容をconfig.tomlにマージしないといけない(上記の場合、date_formatの設定が無い事が直接の原因)。 }}