summaryrefslogtreecommitdiff
path: root/templates/base.html
blob: 09d787b9f12aee59794802552e3877e50e9aa878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!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>