2020-05-10 01:36:58 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2022-10-04 06:55:41 +00:00
|
|
|
{% block title %}{{ article.title|striptags }} | Tanner's Site{% 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 %}
|
|
|
|
|
2020-05-10 01:36:58 +00:00
|
|
|
{% block content %}
|
2022-07-15 21:04:24 +00:00
|
|
|
<div class="content">
|
|
|
|
<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>
|
2020-05-10 01:36:58 +00:00
|
|
|
{% endblock %}
|
2023-01-15 19:02:17 +00:00
|
|
|
|