105 lines
2.7 KiB
HTML
105 lines
2.7 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
{%- if page.date %}
|
|
<small>
|
|
<time datetime='{{ page.date | date(format='%+') }}' pubdate>
|
|
{{- page.date | date(format=config.extra.date_format) -}}
|
|
</time>
|
|
|
|
{%- if page.taxonomies %}
|
|
{%- for name, taxon in page.taxonomies %}
|
|
•
|
|
{%- for item in taxon %}
|
|
<a class="link-tag" href="{{ get_taxonomy_url(kind=name, name=item) }}">
|
|
<svg class="link-icon" viewBox="0 0 16 16" width="16" height="16">
|
|
<path
|
|
fill="currentColor"
|
|
d="M4 0C1.785 0 0 1.785 0 4v3.09c0 .847.336 1.66.938 2.262l5.382 5.382c.93.934 2.43.934 3.36 0l4.965-4.964c.98-.98.98-2.56 0-3.54L9.227.812A2.777 2.777 0 0 0 7.266 0H4zm0 2h3.266c.207 0 .402.082.546.227l5.418 5.418a.512.512 0 0 1 0 .71L8.266 13.32a.38.38 0 0 1-.532 0L2.352 7.937A1.198 1.198 0 0 1 2 7.09V4c0-1.098.902-2 2-2zm.5 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"
|
|
/>
|
|
</svg>
|
|
{{ item }}
|
|
</a>
|
|
{%- endfor %}
|
|
{%- endfor %}
|
|
{%- endif %}
|
|
</small>
|
|
{%- endif %}
|
|
|
|
{% if page.extra.archive %}
|
|
<div class="statement-container archive">
|
|
<h2>⚠ Archived</h2>
|
|
{{ page.extra.archive | markdown | safe }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if page.extra.trigger %}
|
|
<div class="statement-container trigger">
|
|
<h2>⚠ Trigger Warning</h2>
|
|
{{ page.extra.trigger | markdown | safe }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if page.extra.disclaimer %}
|
|
<div class="statement-container disclaimer">
|
|
<h2>⚠ Disclaimer(s)</h2>
|
|
{{ page.extra.disclaimer | markdown | safe }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if page.extra.toc %}
|
|
<h2>
|
|
Table of Contents
|
|
</h2>
|
|
<ul>
|
|
{% for h1 in page.toc %}
|
|
<li>
|
|
<a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
|
|
{% if h1.children %}
|
|
<ul>
|
|
{% for h2 in h1.children %}
|
|
<li>
|
|
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
{{ page.content | safe }}
|
|
|
|
{% if page.extra.comments.id %}
|
|
{% include "includes/comments.html" %}
|
|
<hr>
|
|
{% endif %}
|
|
|
|
{% if page.lower or page.higher %}
|
|
{% if page.lower %}
|
|
<h2>
|
|
Read Next
|
|
</h2>
|
|
<a class="link-page" href="{{ page.lower.permalink }}">
|
|
{{ page.lower.title }}
|
|
</a>
|
|
{% endif %}
|
|
{% if page.higher %}
|
|
<h2>
|
|
Read Previous
|
|
</h2>
|
|
<a class="link-page" href="{{ page.higher.permalink }}">
|
|
{{ page.higher.title }}
|
|
</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
<p class="dialog-buttons">
|
|
<a href="#top" class="inline-button">Go to top</a>
|
|
<a href="{{ config.extra.issues_url }}">File an issue</a>
|
|
</p>
|
|
{% endblock content %}
|