2020-05-10 01:36:58 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2022-07-02 06:52:19 +00:00
|
|
|
{% block title %}{{ article.title|striptags }} | {{ SITENAME }}{% endblock %}
|
2020-09-04 00:40:33 +00:00
|
|
|
|
|
|
|
{% block head %}
|
2022-07-15 21:04:24 +00:00
|
|
|
{{ super() }}
|
2020-09-04 00:40:33 +00:00
|
|
|
|
|
|
|
{% if article.date %}
|
|
|
|
<meta name="date" content="{{article.date}}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if article.summary %}
|
|
|
|
<meta name="description" content="{{article.summary|striptags}}" />
|
|
|
|
<meta name="summary" content="{{article.summary|striptags}}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if article.category %}
|
|
|
|
<meta name="category" content="{{article.category}}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% for tag in article.tags %}
|
|
|
|
<meta name="tags" content="{{tag}}" />
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
2021-04-09 00:36:39 +00:00
|
|
|
{% block info %}
|
2022-07-15 21:04:24 +00:00
|
|
|
<p>← <a class="return-home" href="/">Return Home</a></p>
|
2021-04-09 00:36:39 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
2020-05-10 01:36:58 +00:00
|
|
|
{% block content %}
|
2022-07-15 21:04:24 +00:00
|
|
|
{% if article.wide %}
|
|
|
|
<div class="content content-wide">
|
|
|
|
{% else %}
|
|
|
|
<div class="content">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<header>
|
|
|
|
<h1>{{ article.title }}</h1>
|
|
|
|
<div class="summary">
|
|
|
|
{{ article.summary }}
|
|
|
|
</div>
|
|
|
|
<p class="metadata">
|
|
|
|
{{ article.locale_date }}
|
|
|
|
{% if article.modified %}
|
|
|
|
— updated {{ article.locale_modified }}
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</header>
|
|
|
|
<hr />
|
|
|
|
<article>
|
|
|
|
|
|
|
|
{{ article.content }}
|
|
|
|
|
|
|
|
</article>
|
2021-04-09 05:17:51 +00:00
|
|
|
</div>
|
2022-07-15 21:04:24 +00:00
|
|
|
|
2020-05-10 01:36:58 +00:00
|
|
|
{% endblock %}
|