Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metadata (categories, tags, etc.) to content pages (see #79) #83

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shabby-goddess
Copy link

Problem: tags, categories, and arbitrary taxonomies are not linked on content pages (#79).

Solution: a metadata partial that lists all taxonomies and terms for any given content page. Works with default and user-defined taxonomies.

It's pretty simple:

  1. the first range loop cycles through taxonomies
  2. the with statement resets the context to each taxonomy map
  3. the second range loop renders each term of the taxonomy

Hopefully this will allow for more flexible, user-defined organizational schema going forward. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant