From e0a1bf7cb1cc57a7b33d45ca4336fa3e0c27fd34 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sun, 25 Sep 2022 22:37:19 +0100 Subject: [PATCH] update /layout/default.html template (prep. for snippets update). I'm changing the snippet to be stored as HTML instead of JavaScript. I'm, also, storing the snippet in /storage/snippets instead of /static. This makes it easier to hook it up to my Umami instance in the future if Nic wants to do that. --- templates/layouts/default.html | 37 +++++++++++++++++----------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/templates/layouts/default.html b/templates/layouts/default.html index 780ea49..d8e00b2 100644 --- a/templates/layouts/default.html +++ b/templates/layouts/default.html @@ -1,27 +1,26 @@ - - - {% block title %}{% endblock %} - - - - - - - - - - - + + + {% block title %}{% endblock %} + + + + + + + + {% lisp (insert-snippet "site-wide-snippet.html") %} + +
-

{% if alert %}{{alert}}{% endif %}

+ {% if alert %}{{alert}}{% endif %}
{% include "/layouts/header.html" %} {% block content %}{% endblock %} {% include "/layouts/footer.html" %} - +