2017-10-10 49 views
0

我跑的時候「雨果-t MINIMO」收到以下錯誤:雨果主題錯誤

ERROR 2017/10/10 18:25:34 Error while rendering "page": template: theme/_default/single.html:1:3: executing "theme/_default/single.html" at <partial "header" .>: error calling partial: template: theme/partials/header.html:4:3: executing "theme/partials/header.html" at <partial "head/head" ...>: error calling partial: template: theme/partials/head/head.html:2:5: executing "theme/partials/head/head.html" at <partial "head/meta" ...>: error calling partial: template: theme/partials/head/meta.html:5:3: executing "theme/partials/head/meta.html" at <partial "head/opengr...>: error calling partial: template: theme/partials/head/opengraph.html:102:12: executing "theme/partials/head/opengraph.html" at <.admins>: range can't iterate over 

雨果,主題是跟上時代的。我該如何解決這個問題?

感謝

回答

3

在你TOML配置確保了管理員數組爲空或正確地設置了逗號分隔的字符串列表。

admins = [] # array of Facebook IDs

如果不解決您的問題,然後更新到雨果可執行文件的最新版本。 latest

+0

'code [params.opengraph] [params.opengraph.facebook] admins =「」' – user3211900

+0

應該是一個數組 – Scriptonomy