Skip to content

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

Open
shabby-goddess wants to merge 2 commits intojoeroe:mainfrom
shabby-goddess:metadata-on-page
Open

Add metadata (categories, tags, etc.) to content pages (see #79)#83
shabby-goddess wants to merge 2 commits intojoeroe:mainfrom
shabby-goddess:metadata-on-page

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!

@shabby-goddess
Copy link
Author

checking in on this? @joeroe

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