【发布时间】:2018-12-04 14:35:15
【问题描述】:
我是第一次使用blogdown,并通过推荐的方法blogdown::new_site(theme = 'gcushen/hugo-academic')安装了Hugo-academic主题。
我已开始编辑config.toml,更新按预期呈现。在尝试编辑about.md 文件后,我所做的任何编辑似乎都没有出现。我删除了一些示例文件(例如 Selected Projects 等),但站点预览仍然显示它们。我遇到了感觉相关的 (Customize the "about" widget in hugo academic theme),在终端中执行 hugo -v 时(在同一项目的 RStudio 中),我收到以下我无法理解的错误:
ERROR 2018/06/25 19:50:10 Error while rendering "home" in "": template: index.html:1:3: executing "index.html" at <partial "widget_page...>: error calling partial: template: partials/widget_page.html:23:9: executing "partials/widget_page.html" at <partial $widget $par...>: error calling partial: template: partials/widgets/projects.html:66:84: executing "partials/widgets/projects.html" at <delimit.Params.tags...>: error calling delimit: can't iterate over <nil>
尝试理解:我是否删除了我不应该拥有的文件,或者没有更新 config.toml 中的某些内容,以至于它正在寻找我现在已经删除的文件?
我在 Mac 上,并使用 RStudio 版本 1.1.453,以防万一了解
【问题讨论】: