getgrav / grav-plugin-archives

Grav Archives Plugin
https://getgrav.org
MIT License
8 stars 12 forks source link

not displaying articles in respective months #12

Closed JohnMica closed 7 years ago

JohnMica commented 8 years ago

Hi guys, I've been playing a bit with the archives and it seems that somehow the months appear to be translated using antimatter theme. The issue is that pressing "march" will result in the same page being loaded with same articles, the only thing changed being the url with the addition of the archives:march ... Same thing happens with June, July, any months. It will display same articles on the same page.

before captura de ecran din 2016 05 15 la 00 29 49

after captura de ecran din 2016 05 15 la 00 29 58

holzee commented 7 years ago

I confirm: no way to sort by year/month when clicking on it.

JohnMica commented 7 years ago

This is due to how the twig for archives and the blog post are done. One using the "months-of-the-year" and the second using a page.date thing. At least this is what I have thought off until now. ;) I'm not that good at Php but I guess eventually I'll think of something