This repository has been archived on 2025-02-09. You can view files and clone it, but cannot push or open issues or pull requests.
kyanite/templates/base.html

35 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2023-02-04 02:23:51 -08:00
<!doctype html>
2023-02-05 20:37:22 -08:00
<html>
2023-02-04 02:23:51 -08:00
<head>
2023-02-08 01:45:31 -08:00
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>{{ settings.site_name }} - {% block title %}{% endblock %}</title>
<meta name="description" content="{% block description %}{% endblock %}" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{% block opengraph %}{% endblock %}
<meta property="og:site_name" content="{{ settings.site_name }}" />
2023-02-05 03:48:23 -08:00
{% match settings.site_additional_head %}
{% when Some with (site_additional_head) %}
{{ site_additional_head|safe }}
{% when Nome %}
{% endmatch %}
2023-02-04 02:23:51 -08:00
</head>
<body>
<h1>{{ settings.site_header }}</h1>
2023-02-04 02:23:51 -08:00
2023-02-04 21:21:52 -08:00
<ul class="primary-menu">
{% for entry in menu %}
2023-02-05 02:53:51 -08:00
<li><a href="{{ entry.referring_slug }}" class="menu-button">{{ entry.text }}</a></li>
2023-02-04 21:21:52 -08:00
{% endfor %}
</ul>
2023-02-04 02:23:51 -08:00
<hr />
<div id="content">
{% block content %}{% endblock %}
</div>
<hr />
2023-02-05 20:37:22 -08:00
<p class="footer">Proudly powered by <a href="https://kyanite.eviee.gay/">Kyanite</a>, made with 🏳️‍⚧️💜 and Rust. <i>© {{ year }} {{ settings.site_owner }}</i></p>
2023-02-04 02:23:51 -08:00
</body>
</html>