-
Notifications
You must be signed in to change notification settings - Fork 358
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
Adding categories to blog. #254
Conversation
Many constraints in pelican are by design, so is that a post can only be in one category, see getpelican/pelican#350 . It can have more than one tag though. |
Ah, ok. Should we move to tags then, or is a single category good enough? |
I imagine there are use case for tags and categories. With tags you can have multiple and categories can build hierarchies I think. I'd go with only tags as we probably won't need a hierarchy in our blog posts and tags provide more flexibility. |
Meh. Not sure how to proceed. When I switch 'categorie' for 'tags', then nothing visually changes (as compared to before I started this PR). When I use 'tag' (instead of 'tags'), Pelican throws this error during page generation:
|
|
I tend to agree. Let's ping @bear (ping!) to see if switching from categories to tags in the theme is easy, but if not, let's go with categories. |
it doesn't really matter which is used as long as the code that generates the feeds is also updated |
Where is the code that updates the feed? Is that the same code as what @stpeter mentions is broken in xsf/xeps#1179 ? |
probably - it may end up just being a config issue |
After the merge, categories popped up, and the single blog feed that we already had did not break. I'm declaring this a success. ;) |
Currently, all blog posts are in the same default category 'misc'. This PR adds some other categories.
Certain posts could go into two categories, but I've yet to figure out how that's done. Comma-separated won't work, nor will adding the header twice.
Feel free to improve or add to this.