mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-13 20:38:00 +00:00
![]() When inside front matter you specified series with spaces, then the opengraph template wouldn't detect other articles, because in `.Site.Taxonomies.series` they are stored by urlized key. Example: ```yaml # in front matter series: - My Series ``` ```gohtml {{/* in a template */}} {{- $series := index .Site.Taxonomies.series$name }} {{/* was resolved to */}} {{- $series := index {'my-series': ...} "MySeries" }} ``` |
||
---|---|---|
.. | ||
generate | ||
templates | ||
.gitattributes | ||
README.md | ||
templates.autogen.go |
Build Templates
If you add or modify any template in the templates folder, you also need to run mage generate
to get the Go code in synch.