2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 20:20:24 +02:00
website/homepage/theme/templates/article.html
2020-08-05 20:58:15 +02:00

31 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% set title = article.title + " | Offen" %}
{% set description = article.description %}
{% set href = article.save_as.replace('index.html', '') %}
{% set image_url = article.image_url %}
{% set no_stats = article.no_stats %}
{% set template = article.template %}
{% set cta_blog_index = True %}
{% block content %}
<main class="w-100 mt5-ns gray">
<div class="mw7 center pb5 bg-white">
<figure class="ma0">
<img alt="{{ title }}" src="{{ image_url }}"/>
{% if article.image_caption %}
<figcaption class="ph3 ph5-ns f7 normal moon-gray">
{{ article.image_caption }}
</figcaption>
{% endif %}
</figure>
<div class="ph3 ph5-ns pt5">
<h6 class="f5 lh-solid normal ma0 light-silver">
{{ article.date | strftime('%d %b %Y') }}{% if article.modified %}(updated {{ article.modified | strftime('%d %b %Y') }}){% endif %}, {{ article.author }}
</h6>
{{ article.content }}
</div>
</div>
</main>
{% endblock %}