this repo has no description
1{%- extends "index.html" -%}
2
3{%- import "macros/toc.html" as toc -%}
4
5{%- block title -%}
6 <title>{{ page.title }} - {{ config.extra.author }}</title>
7{%- endblock title -%}
8
9{%- block main -%}
10 <article class="post h-entry">
11 <h1 class="post-title p-name">
12 <a href="{{ page.permalink }}">{{ page.title }}</a>
13 </h1>
14 {{ posts::meta(page=page, author=config.extra.show_author) }}
15 {%- if page.toc | length >= 5 -%}
16 <div class="post-toc">
17 <label for="toc-toggle">Table of content</label>
18 <input type="checkbox" id="toc-toggle" hidden />
19 <div class="toggleable">
20 {{ toc::toc(headers=page.toc) }}
21 </div>
22 </div>
23 {%- endif -%}
24 <div class="post-content e-content">
25 {{ page.content | safe }}
26 </div>
27 {% if not page.extra.no_comments %}
28 <hr />
29 <div>
30 <p>You can provide feedback via mailing list
31 <a href="mailto:~hauleth/blog@lists.sr.ht?subject=[Comment] {{
32 page.title }}">~hauleth/blog@lists.sr.ht</a>
33 (<a href="https://lists.sr.ht/~hauleth/blog">archive</a>).</p>
34 </div>
35 {% endif %}
36 </article>
37{%- endblock main -%}