commit 993490a22fe4be9e42acdd7e83f4e2bc380c6cae parent 2f4bb9d4d8f51a17bdbb7ebee5690b42952cc4cb Author: FIGBERT <figbert@figbert.com> Date: Fri, 28 May 2021 21:53:43 -0700 Update Tera templating in anchor-link.html Diffstat:
M | templates/anchor-link.html | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/anchor-link.html b/templates/anchor-link.html @@ -1,4 +1,4 @@ -<a class="zola-anchor" href="#{{ id }}" aria-label="Anchor link for: {{ id }}"> +<a class="zola-anchor" href="#{{ id | safe }}" aria-label="Anchor link for: {{ id | safe }}"> {%- if level == 1 -%} # {%- elif level == 2 -%} @@ -11,5 +11,5 @@ ##### {%- elif level == 6 -%} ###### - {% endif %} + {%- endif -%} </a>