summaryrefslogtreecommitdiffstats
path: root/templates_html/page.html
blob: 3aebb83a11521a1d1e7f325c836399417fcc67c6 (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
35
36
37
{% extends "base.html" %}
{% import "macros.html" as macros %}
{% block content %}

{{ macros::page_content(page=page) }}

<nav class="post-nav" aria-label="Post navigation">
    {% if page.higher %}
    <div class="post-nav-left">
        <a class="post-nav-link" href="{{ page.higher.permalink }}"
            >← {{ page.higher.title }}</a
        >
    </div>
    {% endif %} {% if page.lower %}
    <div class="post-nav-right">
        <a class="post-nav-link" href="{{ page.lower.permalink }}"
            >{{ page.lower.title }} →</a
        >
    </div>
    {% endif %}
</nav>

<div style="display: none" class="h-entry">
    <div class="e-content p-name">{{ page.title }}</div>
    <a rel="author" class="p-author h-card" href="https://jan.systems">
        <img
            class="u-photo"
            src="https://jan.systems/files/Jan_Tuomi_headshot.jpg"
            loading="lazy"
        />
        Jan Tuomi (né Tuomi)
    </a>
    <a class="u-url" href="https://jan.systems/{{ page.path }}">
        Published <time class="dt-published">{{ page.date }}</time>
    </a>
</div>
{% endblock %}