I’ve been trying to make a page listing the authors I’ve discussed in my newsletter, with links to the post(s) that mention each author. I thought that the easiest way would be to create a category for each author (although most of the authors are mentioned just once each). Having done that, I created a template containing the following:
{{ $list := ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
{{ if gt (len $list) 0 }}
{{ range $list }}
<p><a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ end }}
{{ end }}
The result is here, on my Authors’ list page. (Ignore layout and styling, I’ll sort them out once I’ve got the links working.) The problem is that each name, instead of linking to the posts that mention that author, leads to a full list of my Micro.blog posts. Each link is the same!
Has anyone any idea what I’m doing wrong? I’d be very grateful for any help.