如何在这个雨果学术主题网站的“成就”中添加另一个“组织”?

问题描述

我正在这个雨果学术主题网站上工作。此处演示:https://themes.gohugo.io/theme/academic/

在“成就”部分中,我想在Coursera下面添加一个项目。例如,神经网络下方的行将显示Coursera 1,而下一行(与上一行相同的样式)将显示Coursera 2。

enter image description here

这是网站的Hugo代码https://github.com/wowchemy/wowchemy-hugo-modules

添加新的成就项目很容易,可以通过在此处添加新项目来完成:https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/master/exampleSite/content/home/accomplishments.md

...
# Accomplishments.
#   Add/remove as many `item` blocks below as you like.
#   `title`,`organization` and `date_start` are the required parameters.
#   Leave other parameters empty if not required.
#   You can begin a multiline `description` using YAML's `|-`.
item:
- certificate_url: https://www.coursera.org
  date_end: ""
  date_start: "2018-10-01"
  description: ""
  organization: Coursera
  organization_url: https://www.coursera.org
  title: Neural Networks and Deep Learning
  url: ""
- certificate_url: https://www.edx.org
  date_end: ""
  date_start: "2018-03-01"
  description: Formulated informed blockchain models,hypotheses,and use cases.
  organization: edX
  organization_url: https://www.edx.org
  title: Blockchain Fundamentals
  url: https://www.edx.org/professional-certificate/uc-berkeleyx-blockchain-fundamentals
- certificate_url: https://www.datacamp.com
  date_end: "2017-12-21"
  date_start: "2017-07-01"
  description: ""
  organization: DataCamp
  organization_url: https://www.datacamp.com
  title: 'Object-Oriented Programming in R: S3 and R6 Course'
  url: ""
---

但是,在同一项目中,我无法定义2 organization,因为Hugo会产生一个错误,指出已经定义了organization。与org_url变量相同。

我假设这些边界是在“类”文件中的某个位置定义的。但是,我是Hugo和Bootstrap的新手,所以不知道在哪里。我的问题是,如何在这个雨果学术主题的“成就”部分下添加一个以上的组织。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)