I am building a simple Hugo blog and I have this following toml config for a page
+++
[publications]
links = ["2017/article1",
"2017/article2"]
+++
And I have these files in their appropriate content section (content/publications/2017/article1.md). What I need is to iterate through them, load each page and use some of their .Params
in building a partial. Something like
{{ range .Params.publications.links }}
{{ do something with page parameters }}
{{ end }}
I guess it is a basic Hugo question, I just cant figure it out.