58 lines
1.1 KiB
HTML
58 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block head_title %}
|
|
{{ SITENAME | striptags }} :: {{ page.title|striptags }}
|
|
{% endblock head_title %}
|
|
|
|
{% block head %}
|
|
{{ super() }}
|
|
{% if page.summary %}
|
|
<meta name="description" content="{{page.summary}}" />
|
|
{% endif %}
|
|
{% for tag in page.tags %}
|
|
<meta name="tags" content="{{tag}}" />
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<section id="title">
|
|
<h1>
|
|
{{ page.title }}
|
|
</h1>
|
|
{% if not page.hidemeta %}
|
|
<p id="meta">
|
|
{% if page.authors %}
|
|
{% for author in page.authors %}
|
|
{{ author }}
|
|
{% if not loop.last %}
|
|
,
|
|
{% else %}
|
|
<br />
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{{ page.locale_date }}
|
|
{% if page.license %}
|
|
<br />
|
|
<a href="{{ page.license[1] }}">
|
|
{{ page.license[0] }}
|
|
</a>
|
|
{% endif %}
|
|
</p>
|
|
{% endif %}
|
|
</section>
|
|
{% if page.summary %}
|
|
<section id="abstract">
|
|
<p>
|
|
{{ page.summary }}
|
|
</p>
|
|
</section>
|
|
<article>
|
|
{% if 'add_sidenotes' in JINJA_FILTERS %}
|
|
{{ page.content | add_sidenotes }}
|
|
{% else %}
|
|
{{ page.content }}
|
|
{% endif %}
|
|
</article>
|
|
{% endif %}
|
|
{% endblock main %} |