From 93e365737e0797f60e0d31ebaee72e3c8a44b534 Mon Sep 17 00:00:00 2001 From: mat ess Date: Fri, 21 Oct 2022 02:32:07 -0400 Subject: [PATCH] Escaping tweaks --- templates/macros/macros.html | 2 +- templates/partials/nav.html | 4 ++-- templates/posts.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 887b4c0..b17c694 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -6,7 +6,7 @@ {% endif -%}
  • - {{page.title}} + {{ page.title }}

    {%- if page.description %}
    diff --git a/templates/partials/nav.html b/templates/partials/nav.html index 8e986a2..ca303b4 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -9,9 +9,9 @@ {%- for menu in config.extra.menu %} {%- set external = menu.external | default(value=false) -%} {%- if external %} - {{ menu.name }} + {{ menu.name | safe }} {%- else %} - {{ menu.name }} + {{ menu.name | safe }} {%- endif -%} {% endfor %} diff --git a/templates/posts.html b/templates/posts.html index 99b378b..28541fa 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -22,13 +22,13 @@