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
[DRAFT] Add tags/categories/archives pages plugins #870
Conversation
end | ||
|
||
|
||
class Page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be sweet if you could modify lib/jekyll/page.rb
with any modifications necessary.
I'd love to see these added into the jekyll core. Having tags and categories without a direct means of showing them (short of looping through site posts and printing those which match a hard-coded category or tag name) seems to point to a missing feature to me. @mattr-, what do you think? |
I think this is awesome! 👍 🎉 |
And obviously they don't need to be plugins anymore. 😃 |
+1 for those pages, just one question, are your plugins somehow better than: https://github.com/recurser/jekyll-plugins ? How do they differ? |
The plugin does not work for me, returns error:
It seems that new Jekyll uses some method that plugin does not implement. |
I don't know how they differ, they are just what I wrote for myself. This pull request is outdated of course, but it's just a draft (a stub if you will) so if general idea will be accepted - it will be completely refactored and new pull request will takeover this one. If you want to see these plugins working with current version of Jekyll grab them from my blog's sources directly: https://github.com/ixti/ixti.github.com/tree/source/_plugins |
Hi, thanks for the reply. Actually I have already tried to use plugins form your blog sources, and they did not work either.
|
I think both @parkr and I said that we wanted this. Get crackin' on that PR! 😃 |
I do think they should be opt-in, but yeah I'd love to see this in the core! |
What's the status of built-in tag support for Jekyll on Github? I'm building a blog with multiple contributors who will primarily interact through Prose.io and cannot be building locally and pushing to Github every time they post something new. Tags are extremely important and useful for this site, but so far it only runs locally with plugins. |
I'm afraid I'm a bit confused by your question. This pull request is about Jekyll supports tags for posts already. Tags are specified in the YAML |
I thought Jekyll supported tags but Github Pages prevents the functionality that allows custom pages to be built for each tag because it disables custom plugins. See this blog post. I thought this issue was about adding to the Jekyll core some basic tag pages functionality |
That is exactly what this issue is about, yes. I thought you were talking On Wed, Jul 10, 2013 at 3:59 PM, Maya notifications@github.com wrote:
|
No problem, I am looking forward to the continued development of this, right now I am plotting some hackish solutions. |
Sorry for delay. Will submit a pull request this weekend. |
No worries. Don't rush yourself unnecessarily. 😃 On Wed, Jul 10, 2013 at 7:47 PM, Aleksey V. Zapparov
|
I don't know when I'll find time to finish this proposal, so if there anybody wish to overtake it - I'll be glad. Feel free to use code from proposed plugins if you'll find them useful. |
Nice man, I'll take a look at to help on this when I finish my current PR... (= |
If anyone watching this issue has the time or interest to create a category & page generator plugin, I'd love to take a look at it and possibly include it in core. |
I would be willing to work on this. I have a question though—what is the difference between a 'tag' and a 'category', and how should Jekyll distinguish between the two? |
I'm not sure if there is a definitive difference, but if I were to guess: Only one category applies to a post, but a post can have multiple tags. |
I guess I won't worry about it too much, since each Post object has a |
What I said doesn't apply to Jekyll, of course. One post can indeed have multiple categories. But should it? |
Wouldn't make a lot of sense to have multiple categories for one post (that's what tags are for, after all), but it's probably not in the scope of this issue to decide that. I'm sure there's a solid rationale behind the original decision. |
Categories are ordered and tags are not. Categories provide a tree like structure while tags link posts to a number of different ... sets. |
This is a start discussion pull request (real one will be re-factored and recreated as a separate one).
These plugins adds "dynamically" generated pages for archives (list posts by years), tags and categories. Usage example can be found on my blog (https://github.com/ixti/ixti.github.com/):
Follows up of #867.