HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.08k stars 2.89k forks source link

Error when try to add author in the publication #1977

Closed ZihengJiang closed 3 years ago

ZihengJiang commented 3 years ago

Welcome to Academic's GitHub repo 👋

We use GitHub only for bug reports and feature requests - it's our project management tool.

For help and questions, please join our community chat or use the forum 🚑.

Also, you can search and browse the extensive Academic and Hugo documentation.

For questions on Blogdown, please reach out to the Blogdown community.

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. after hugo new ... publication
  2. change the value of authors to any thing like authors: [Ziheng]
  3. See error:
    ERROR 2020/11/20 15:26:26 Failed to render pages: render of "section" failed: execute of template failed: template: section/publication.html:65:15: executing "main" at <partial "li_citation" .>: error calling partial: execute of template failed: template: partials/li_citation.html:8:7: executing "partials/li_citation.html" at <partial "page_metadata_authors" .>: error calling partial: "/var/folders/mr/p3yl36c16hn8dys44zc4k8wr0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-modules/wowchemy@v0.0.0-20201113113155-34a48f8670c8/layouts/partials/page_metadata_authors.html:6:30": execute of template failed: template: partials/page_metadata_authors.html:6:30: executing "partials/page_metadata_authors.html" at <.GetTerms>: can't evaluate field GetTerms in type *hugolib.pageState

Expected behavior

A clear and concise description of what you expected to happen.

Technical details:

I init my site according to the workflow on the official website today

If applicable, add screenshots to help explain the issue.

ZihengJiang commented 3 years ago

Fixed after I upgrade hugo. (Big Sur)