From 15ab553ef1929f0aa718754ccb002073e9300fcb Mon Sep 17 00:00:00 2001 From: MyZeD Date: Tue, 8 Oct 2024 18:22:45 +0200 Subject: [PATCH] public to private comment and minifyed HTML --- config.toml | 3 +++ templates/sponsors.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index d96ab4a555..ffa40f5cc9 100644 --- a/config.toml +++ b/config.toml @@ -7,6 +7,9 @@ title = "Bevy Engine" # Whether to automatically compile all Sass files in the sass directory compile_sass = true +# When set to "true", the generated HTML files are minified. +minify_html = true + # Whether to build a search index to be used later on by a JavaScript library build_search_index = true diff --git a/templates/sponsors.html b/templates/sponsors.html index c5c9dfda4c..4c91106936 100644 --- a/templates/sponsors.html +++ b/templates/sponsors.html @@ -35,8 +35,8 @@ {% if donor.past %} {% continue %} {% endif %} - - + {# Note: this "donor filtering logic" _must_ be kept in sync with the logic in donate.html #} + {# If we can find a way to reuse this logic in Zola, we absolutely should! #} {% if donor.amount >= tier.amount %} {% if next_tier and donor.amount >= next_tier.amount %} {% continue %}