Jekyll Archives by Month

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?
image

You can use Jekyll plugins to do this:

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.

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