Skip to content

Commit

Permalink
Changed public to private comment and minifyed HTML (#1642)
Browse files Browse the repository at this point in the history
Co-authored-by: François Mockers <[email protected]>
  • Loading branch information
MyZeD and mockersf authored Oct 9, 2024
1 parent bb90a62 commit e9d3453
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions templates/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ <h2 class="donate-header-padding">Bevy Supporters</h2>
{% 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! -->
{# 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 %}
Expand Down

0 comments on commit e9d3453

Please sign in to comment.