Browse Source

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.
stable
Craig Oates 2 years ago
parent
commit
e0a1bf7cb1
  1. 5
      templates/layouts/default.html

5
templates/layouts/default.html

@ -13,12 +13,11 @@
fabricators, steel, welding, powder paint, archive"> fabricators, steel, welding, powder paint, archive">
<link rel="stylesheet" type="text/css" media="screen" href="/css/main.css"> <link rel="stylesheet" type="text/css" media="screen" href="/css/main.css">
<link rel="icon" href="/images/favicon.png" type="image/x-icon"> <link rel="icon" href="/images/favicon.png" type="image/x-icon">
<script src="/js/site-wide-snippet.js"></script> {% lisp (insert-snippet "site-wide-snippet.html") %}
<!-- <script defer src="/js/ritherdon-archive.js"></script> -->
</head> </head>
<body> <body>
<div> <div>
<p>{% if alert %}{{alert}}{% endif %}</p> {% if alert %}{{alert}}{% endif %}
</div> </div>
{% include "/layouts/header.html" %} {% include "/layouts/header.html" %}
{% block content %}{% endblock %} {% block content %}{% endblock %}

Loading…
Cancel
Save