diff --git a/templates/macros.html b/templates/macros.html index c3ca38c3..aa562f29 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -17,7 +17,7 @@

{% set data = load_data(path="content/" ~ section.path ~ "data.toml") %} - {% for category in section.pages %} + {% for category in section.pages | sort(attribute="title") %} {# This isn't very pretty/efficient, but it's about as good as we can do with Zola's current feature set #} {% set_global count = 0 %}