Files
stevenlr.com/templates/base.html
2023-11-01 21:02:09 +01:00

35 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{% block title %}{% endblock %}</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=PT+Serif&family=PT+Serif+Caption&family=Roboto+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{{ get_url(path="theme.css") }}" />
<script src="https://unpkg.com/htmx.org@1.9.6"></script>
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml", trailing_slash=false) }}">
</head>
<body hx-boost="true">
<div id="header">
<div class="title_desc">
<p class="title"><a href="{{ get_url(path="@/_index.md") }}">{{ config.title }}</a></p>
<p class="description">{{ config.description }}</p>
</div>
<div style="flex-grow: 1;"></div>
<div class="navigation">
<a href="{{ get_url(path="@/blog/_index.md") }}">Blog</a>
{% set tags = get_taxonomy(kind="tags") %}
<a href="{{ tags.permalink | safe }}" class="secondary">Tags</a>
<a href="https://twitter.com/steven_lr">Twitter</a>
<a href="https://github.com/stevenlr">Github</a>
</div>
</div>
{% block content %}{% endblock %}
<div id="footer" class="typography">
<p>&copy; Copyright {{ now() | date(format="%Y") }}, Steven Le Rouzic</p>
</div>
</body>
</html>