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> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{% block title %}{% endblock %}</title> <title>{% block title %}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" <meta name="description"
content="Explore Nicola Ellis & Ritherdon's archive."> content="Explore Nicola Ellis & Ritherdon's archive.">
<meta name="keywords" <meta name="keywords"
content="nicola, ellis, ritherdon, uk, metal, fabrication, content="nicola, ellis, ritherdon, uk, metal, fabrication,
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 %}
{% include "/layouts/footer.html" %} {% include "/layouts/footer.html" %}
</body> </body>
</html> </html>

Loading…
Cancel
Save