{% extends "base.html" %} {% macro period_label() %} {{ period|reverse|join(' ') }} {% endmacro %} {% macro period_url() -%} {# Ugly hack to get period archive URL. The {{ url }} variable doesn't return what I expected. The issue is being discussed at: https://github.com/getpelican/pelican/issues/2773 #} {% set url_parts = output_file.split('index.html', 1) %} {{- url_parts[0] -}} {%- endmacro %} {% block title %}{{ period_label() }} archives{% endblock title %} {% block top_center %}