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

Account for multiple categories #11

Closed
daviddarnes opened this issue Jan 1, 2018 · 0 comments
Closed

Account for multiple categories #11

daviddarnes opened this issue Jan 1, 2018 · 0 comments
Assignees

Comments

@daviddarnes
Copy link
Owner

Currently posts can only have one category, however in most cases people want to be able to put multiple categories

{% if page.category %}<span class="label label--category">{{ page.category }}</span>&nbsp;&nbsp;&middot;&nbsp;&nbsp;{% endif %}<time datetime="{{ page.date | date_to_xmlschema }}" class="time">{{ page.date | date_to_string }}</time>

This example code in Alembic should cater for that https://github.com/daviddarnes/alembic/blob/master/_includes/post-meta.html

@daviddarnes daviddarnes self-assigned this Jan 1, 2018
daviddarnes added a commit that referenced this issue Jan 1, 2018
@daviddarnes daviddarnes mentioned this issue Jan 1, 2018
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant