Using this post as a reference, I’ve added a description for a custom taxonomy. It works as expected.
I’m referencing the custom taxonomy (called ‘nys’) on single.html
, like so:
<ul id="nys">
{{ range .Params.nys }}
<li>
<a href="{{ "/nys/" | relLangURL }}{{ . | urlize }}">
{{ . }}
</a>
</li>
{{ end }}
</ul>
I would like to render the description I’ve defined in /content/nys/itemname/_index.md
, but I’m having trouble. {{ .Description | .Page.RenderString }}
does not work. Can anyone help?