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. 37
      templates/layouts/default.html

37
templates/layouts/default.html

@ -1,27 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
content="Explore Nicola Ellis & Ritherdon's archive.">
<meta name="keywords"
content="nicola, ellis, ritherdon, uk, metal, fabrication,
fabricators, steel, welding, powder paint, archive">
<link rel="stylesheet" type="text/css" media="screen" href="/css/main.css">
<link rel="icon" href="/images/favicon.png" type="image/x-icon">
<script src="/js/site-wide-snippet.js"></script>
<!-- <script defer src="/js/ritherdon-archive.js"></script> -->
</head>
<body>
<head>
<meta charset="utf-8">
<title>{% block title %}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
content="Explore Nicola Ellis & Ritherdon's archive.">
<meta name="keywords"
content="nicola, ellis, ritherdon, uk, metal, fabrication,
fabricators, steel, welding, powder paint, archive">
<link rel="stylesheet" type="text/css" media="screen" href="/css/main.css">
<link rel="icon" href="/images/favicon.png" type="image/x-icon">
{% lisp (insert-snippet "site-wide-snippet.html") %}
</head>
<body>
<div>
<p>{% if alert %}{{alert}}{% endif %}</p>
{% if alert %}{{alert}}{% endif %}
</div>
{% include "/layouts/header.html" %}
{% block content %}{% endblock %}
{% include "/layouts/footer.html" %}
</body>
</body>
</html>

Loading…
Cancel
Save