Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将 yml 文件中的数据加载到 HUGO 模板中?我无法理解文档,步骤是什么?
我正在使用海德模板。
给定一个名为 的 Yaml 文件mydata.yml:
mydata.yml
/data
$.Site.Data.mydata
$.Site.Data.mydata.author.name