home-assistant.io/source/_layouts/category_index.html
Madelena Mak 138aa062ea
A wider website and documentation navigation revamp (#33601)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-07-16 13:40:34 +02:00

17 lines
385 B
HTML

---
title: "Blog index"
layout: page
feedback: false
---
<div id="archive-list">
{% for post in site.categories[page.category] %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% unless year == this_year %}
{% assign year = this_year %}
<h2>{{ year }}</h2>
{% endunless %}
{% include blog/archive_post.html %}
{% endfor %}
</div>