Your sites Log in Sign up Menu

Hide archive dates if no posts are displayed

Blot will skip months without posts in them. However, it will always display months with posts in them even if those posts have been hidden with ^tagged

Is it possible to hide these empty months?


2 years ago, 1 replies   Improve this question

I'd use CSS or JS to accomplish the hiding of posts with empty months – unfortunately this is beyond the filtering features of the template engine.

CSS has an :empty selector which should work in your case – please let me know if you have any questions about implementing this

Answered 2 years ago · Improve this answer