I am trying to create a simple list of the first five blog posts tagged “news” on my homepage. According to this page in the documentation https://gohugo.io/taxonomies/displaying/ I would do:
`
- {{ .Name }}
{{ range .Site.Taxonomies.tags.news }}
{{ end }}
Sadly this does the following:
ERROR: 2016/06/14 16:27:46 general.go:222: Error while rendering homepage: template: index.html:250:28: executing "index.html" at <.URL>: URL is not a field of struct type hugolib.WeightedPage
While this works:
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
Is the documentation wrong? Did I miss something?
(Btw the documentation really needs to say if the taxonomy name is plural or not; get it wrong and just you get nothing, no error message.)