Hugo Theme Error
Я получаю следующую ошибку при запуске "hugo -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
Хьюго и тема актуальна. Как я могу решить проблему?
Спасибо
1 ответ
Решение
В вашей конфигурации TOML убедитесь, что массив admins пуст или задан правильно с разделенным запятыми списком строк.
admins = [] # array of Facebook IDs
Если это не решит вашу проблему, то обновите до последней версии исполняемого файла Hugo. самый последний