I am trying to implement taxonomies for “industries”.
I put industry = “industries” in my config.toml under [taxonomies] and put industries = [“electronics”] in two content pages.
For example, the pages are:
/content/electronics.md and /content/case_studies/examplecorp.md
I want to include examplecorp,md in /content/electronics.md
I have tried copying and pasting the examples from the gohugo.io docs into the layout I am using for elecronics,md, but whatever variation I try does not work. (Nothing is displayed).
All that happens when I build the site is that I get a new folder, /industries, and /industries/electronics, and an index.xml file
Am I doing something completely wrong or am I just missing a step?
EDIT - after trying out some things, I managed to get the example for the docs working, which creates an unordered list with links in it (to all the pages with the industry of “electronics”). I wonder if it’s possible to actually include entire pages into a div of a layout - all the examples seem to be creating links to the actual page with the same taxonomy term, not including the actual content of those pages.
EDIT. Sorry for another edit, I managed to get the example of all keys and data being displayed as a list of links - I was wondering, how to reference the page title in the link? When I try .Params.Title I get a blank, and just .Title seems to be no different than .LinkTitle