blog/templates/article.html

30 lines
660 B
HTML
Raw Normal View History

2021-01-26 01:49:49 +01:00
{% with title=title or 'Platypush blog', styles=['/css/blog.css', '/css/code.css'] %}
{% include 'common-head.html' %}
{% endwith %}
2021-01-24 20:39:27 +01:00
2021-01-26 01:49:49 +01:00
<main>
<div class="container">
<div class="title">
<h1>{{ title }}</h1>
</div>
2021-01-24 23:24:49 +01:00
2021-01-26 01:49:49 +01:00
{% if description %}
<div class="description">
<h3>{{ description }}</h3>
</div>
{% endif %}
2021-01-24 23:24:49 +01:00
2021-01-26 01:49:49 +01:00
{% if published %}
<div class="published-date">
Published on {{ published }}
</div>
{% endif %}
2021-01-24 20:39:27 +01:00
2021-01-26 01:49:49 +01:00
<div class="content">
{{ content | safe }}
2021-01-24 20:39:27 +01:00
</div>
2021-01-26 01:49:49 +01:00
</div>
</main>
{% include 'common-tail.html' %}