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

Tags not sorted in the post information #14

Open
StevenMaude opened this issue Jul 17, 2015 · 2 comments
Open

Tags not sorted in the post information #14

StevenMaude opened this issue Jul 17, 2015 · 2 comments

Comments

@StevenMaude
Copy link
Owner

Currently, the ordering is taken from the Markdown file. Perhaps alphabetical ordering makes more sense.

@StevenMaude
Copy link
Owner Author

In templates/includes/taglist.html:

-{% for tag in article.tags %}
+{% for tag in article.tags|sort %}

Probably best to add a variable to control it.

@StevenMaude
Copy link
Owner Author

Debating this, because you could argue that the order of tags is potentially useful contextual information which would be lost (though I think I've tended to manually order my tags lexicographically).

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