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?

1 replies

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 4 months ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us

Tags

developers 28 questions bug 14 questions posts 9 questions resolved 7 questions request 6 questions google-drive 5 questions configure 4 questions pages 3 questions added 3 questions meta 3 questions More tags →
Subscribe for changes
RSS Feed of latest questions