okkur / syna

Highly customizable open source theme for Hugo based static websites
https://syna.okkur.org/demo/
Apache License 2.0
250 stars 133 forks source link

Taxonomy not working #828

Open tjgruber opened 3 years ago

tjgruber commented 3 years ago

Is this a BUG REPORT or FEATURE REQUEST?: bug

What happened: When commenting out disableKinds to enable taxonomy, taxonomy not working as expected.

What you expected to happen: I expected that https://mysite.com/tags/<tagName> would list content that that tag defined in that content's front matter.

How to reproduce it (as minimally and precisely as possible): I commented out the following in config.toml: #disableKinds = ["RSS", "taxonomy", "taxonomyTerm"]

I added the following to config.toml:

[taxonomies]
  category = "categories"
  tag = "tags"

I added the following to a page that uses the content fragment:

categories = ["CategoryName"]
tags = ["taga", "tagb", "tagc", "tagd"]

Anything else we need to know?: Unsure

Environment:

stp-ip commented 3 years ago

This is currently working as intended. Syna doesn't yet support taxonomies. Will mark it as a feature request.

Sidenote: Always happy for contributions :)