diff --git a/themes/default/index.html.j2 b/themes/default/index.html.j2 index c49eea1..82a62a1 100644 --- a/themes/default/index.html.j2 +++ b/themes/default/index.html.j2 @@ -9,9 +9,20 @@
{{ presentation }}
+ {%- set ns = namespace(cur_month="") -%} + {%- for key, page in pages.items()|sort(attribute='1.date', reverse = true) -%} + {%- set month = page.date.strftime('%Y-%m') -%} + + {%- if ns.cur_month != month -%} + {%- if ns.cur_month != "" %} + + {%- endif%} +