Hi! I am working on a new site. It will do the following:
- List a bunch of concepts, with descriptions
- List places (references) where these concepts are used/described
So I want to be able to do something like:
You’re on the page with the concept + description.
You can click a link to view a list of places tagged with this term
Show a list on the concept page of all the places where it’s used (with link to more info)
I have something very basic working: https://github.com/StarfallProjects/habermas-concepts
So on a “concept” page, you can click a link and it takes you to the tag list showing all pages tagged with the concept title.
> <a href="{{ .Site.BaseURL}}/tags/{{ .Title | urlize }}">View all references for this concept</a>
What I’m wondering is:
- Is this the best way of creating that link?
- What’s the best way of listing all pages with a particular tag on the concept page? I figure I could do something like iterate over ALL pages WHERE tag equals, but am wondering if there is a more elegant way, given that Hugo has already created a list page and so has some concept of grouping those pages?
Thanks in advance for any feedback!