You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
2.0 KiB

4 years ago
  1. +++
  2. title = "Taxonomy Pages"
  3. description = "Navigate the site using author-defined taxonomies."
  4. categories = ["navigation"]
  5. tags = ["links", "taxonomy"]
  6. features = ["related content", "code highlighter", "snippets"]
  7. aliases = [
  8. "/feature/page-taxonomies/"
  9. ]
  10. [[copyright]]
  11. owner = "Josh Habdas"
  12. date = "2019"
  13. license = "agpl-3.0-or-later"
  14. +++
  15. After Dark generates categorical and tag taxonomy and taxonomy terms pages and links to them automatically in posts using [Post Bylines](../post-bylines).
  16. Given the following page {{< external href="https://gohugo.io/content-management/front-matter/" text="Front Matter" />}} for a post type:
  17. ```toml
  18. categories = ["navigation"]
  19. tags = ["links", "taxonomy"]
  20. ```
  21. The following taxonomy links would appear in the byline:
  22. > Published [by `author`] [`publishdate` or `date`] in [navigation](/categories/navigation) and tagged [links](/tags/links) and [taxonomy](/tags/taxonomy) using [`wordcount`] words.
  23. The following [Index Blocked](../index-blocking) taxonomy pages generated:
  24. - [/categories/index.html](/categories/index.html)
  25. - [/categories/navigation/index.html](/categories/navigation/index.html)
  26. - [/tags/index.html](/tags/index.html)
  27. - [/tags/links/index.html](/tags/links/index.html)
  28. - [/tags/taxonomy/index.html](/tags/taxonomy/index.html)
  29. The following taxonomic web feeds created:
  30. - [/categories/index.xml](/categories/index.xml)
  31. - [/categories/navigation/index.xml](/categories/navigation/index.xml)
  32. - [/tags/index.xml](/tags/index.xml)
  33. - [/tags/links/index.xml](/tags/links/index.xml)
  34. - [/tags/taxonomy/index.xml](/tags/taxonomy/index.xml)
  35. The {{< external href="https://gohugo.io/templates/sitemap-template/" text="Sitemap" />}} and [Related Content](../related-content) updated and, if activated, the [Fuzzy Search](../fuzzy-search) JSON search index (weighted on taxonomy) regenerated, all automatically.
  36. See {{< external href="https://gohugo.io/content-management/taxonomies" text="Taxonomies in Hugo" />}} to learn about taxonomies and how to customize them.