I`m trying to add individual descriptions to my taxonomies using _index.md approach, but when i create this file i end up with only this file content, without list of corresponding posts of that taxonomy.
Hugo v 0.39
/content/skin/AK-47-Cartel.md
...
"weapon": "AK-47",
...
/content/weapon/AK-47/_index.md with only one line of code - description:
"desc": "Some desc"
config.toml:
[taxonomies]
weapon = "weapon"
layouts/_default/list.html:
{{ .Params.Desc}}
{{ $paginator := .Paginate (where .Data.Pages "Type" "skin") (index .Site.Params "paginate" | default 10) }}
{{ range $paginator.Pages }}
{{ .Render "content" }}
{{ end }}
So when i try to see any other taxonomy (not AK-47) i get expected list of posts, but if i`m watching AK-47 i get only ‘Some desc’ text and no posts under it
Edited: rename ‘Description’ to ‘Desc’