Skip to content

Commit

Permalink
Revert commits with Zola features that were not yet in Nix
Browse files Browse the repository at this point in the history
Revert "Remove Zola 0.18 specific feature until Nix package updates"
Revert "Add work-around for removing content until Zola update lands in Nix"

This reverts commit 8a2236f.
This reverts commit 0f1b446.
  • Loading branch information
alerque committed Feb 13, 2025
1 parent 6fd6ab7 commit 59ab2fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ p, pre {
margin-bottom: 1em;
}

// Drop this hack when Zola 0.18 lands in Nix and we restore the regex that
// removes this from source...
section h1 {
display: none;
}

h2 {
font-size: 1.2em;
font-weight: bold;
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
{{ section.content | safe }}

{% set readme = load_data(path="/README.md") %}
{{ readme | markdown | safe }}
{{ readme | regex_replace(pattern="^# .*", rep="") | markdown | safe }}

{% endblock %}

0 comments on commit 59ab2fb

Please sign in to comment.