-
Notifications
You must be signed in to change notification settings - Fork 630
Use Jekyll plugin to generate yearly / monthly news archive pages #10
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
Comments
@stomar suggestions on Jekyll plugin that can do this? |
@envygeeks you said octopress had a plugin for this? Is it the pagination one? |
I guess I was mistaken, I thought they had one that did /archives/month/ but it's a single page that has everything group, tbh, SEO wise (unless you want to enforce canonical back to /archives on every single archive page) it's probably better to do it like this: http://envygeeks.com/blog/archives/ I'd be more than happy to share the source to my site which generates that way but Jekyll has the same one: source/blog/archives/index.html |
It appears http://www.ruby-lang.org/ includes the full blog post for older archive pages and the first paragraph for newer archive pages. |
Let's look into rolling our own based on other plugins, such as jekyll_archives. |
As a workaround, we could just import the existing pages as-is. This would mean future news posts wouldn't show up on the archive pages, but we wouldn't break any links. |
I'm experimenting with a solution similar to the news/ pages. This would mean that for every year a directory and index.md file would need to be created, which essentially contains only the YAML front matter (page title), the posts would be added by some Liquid tags in a layout file. It's not perfect but probably better (and IMO less work) than importing static content. What do you think? |
I say go for it. I will also try my hand at writing a Jekyll plugin tonight. |
@stomar Might want to hold off, I'm making tons of progress with a custom Jekyll plugin. |
Added a Jekyll Plugin to generate all news archive pages. Although it still needs localilzation. |
Nice! |
Instead of importing the raw news archive pages, use a Jekyll plugin to generate yearly / monthly archive pages.
The text was updated successfully, but these errors were encountered: