I have defined my taxonomies in my configuration file
[taxonomies]
articleType = "articleTypes"
discipline = "disciplines"
tag = "tags"
and tried to output the terms
{{ range $name, $taxonomy := .Site.Taxonomies.disciplines }}
{{ $name }}
{{ end }}
<hr />
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
{{ $name }}
{{ end }}
<hr />
{{ range $name, $taxonomy := .Site.Taxonomies.articleType }}
{{ $name }}
{{ end }}
However, only the tag terms are shown. The other 2 taxonomies output nothing.
Any idea why?
EDIT: Looking at the generated files, it seems only the tags taxonomy is being generated. My assumption is that you can define custom taxonomies in Hugo and it will be generated like the default ones(tags, categories). Am I wrong?
As @summerset mentioned, you still have to stop Hugo and restart it every time you change the configuration file. That’s the one file that Hugo will never pick up changes on while running in --watch mode.
If you use the --verbose switch on hugo server does it give any details?
You should use straight double quotes, not curly quotes. I cannot tell if what you pasted is an artifact of copy-paste or, the way you actually have it.
Did a quick test. On changing my config.toml to include three taxonomies, I had to restart hugo server to get it to stick. Once I did, the map that is shown with --verbose includes all the taxonomies, and I can access.