Is it possible to automate a month archive like described in the picture below?
To automatically create a list of links for the last, let’s say, 12 months, and to create these pages automatically?
Is there a better approach?
You can use Jekyll plugins to do this:
- jekyll-archives
- jekyll-pagination-v2 using their autopages settings
I’m sorry, I forgot to mention that my host is Github Pages, and they do not support both of these plugins as far as I know.
1 Like
Consider using jekyll in github actions so you can use any plugin.
I added a guide to jekyll docs on CI Github page. Here’s an action which is lighter (no docker) so you can try this too
1 Like
Consilder using this Jekyll Post Archives Without Plugin
1 Like