website/templates/base.html
Ncam Gnrvngu 7bc11e49a4
Make project REUSE compliant
initial commit

a lot more stuff

Make project REUSE compliant

start working on implementing audio
2025-05-28 17:07:49 +02:00

43 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
{% block head %}
<meta charset="UTF-8">
<title>{% block title %} {% endblock title %}</title>
{% block style %}
<link rel="stylesheet" href="style.css"/>
{% endblock style %}
{% if config.extra.mastodon_url %}
<link rel="me" href="{{ config.extra.mastodon_url }}"/>
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% endblock head %}
</head>
<body>
<div id="content-wrapper">
<header>
{% block header %}
<a id="header-link" href="/">Ncam Gnrvngu</a>
<div id="header-category-links">
<a class="header-category-link" href="/post/">Posts</a>
<a class="header-category-link" href="/projects">Projects</a>
</div>
{% endblock header %}
</header>
<main>{% block content %}{% endblock content %}</main>
<footer>
{% block footer %}
{% if config.extra.github_url %}
<a href="{{ config.extra.github_url }}">GitHub</a>
{% endif %}
{% if config.extra.mastodon_url %}
<a href="{{ config.extra.mastodon_url }}">Mastodon</a>
{% endif %}
{% if config.extra.matrix_user %}
<a href="https://matrix.to/#/{{ config.extra.matrix_user }}">Matrix</a>
{% endif %}
{% endblock footer %}
</footer>
</div>
</body>
</html>