2
0
mirror of https://github.com/offen/website.git synced 2024-11-25 18:20:28 +01:00
website/homepage/theme/templates/article.html

41 lines
1.4 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
2020-07-02 22:35:19 +02:00
{% 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 %}
2020-08-06 11:02:17 +02:00
{% set bottom_cta = article.bottom_cta %}
2020-07-09 13:29:27 +02:00
{% block content %}
<main class="w-100 mt5-ns gray">
<div class="mw7 center pb5 bg-white">
2021-04-10 14:06:53 +02:00
<div class="dib gray bg-white ph3 ph5-ns pt4">
<p class="f4 ma0 mb4">
Offen is a fair, open and self hosted web analytics tool that treats operators and users as equal parties.
</p>
</div>
2020-07-09 13:29:27 +02:00
<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">
2021-04-16 21:54:21 +02:00
{{ article.date | strftime('%d %b %Y') }}, {{ article.author }}
2020-07-09 13:29:27 +02:00
</h6>
2021-04-16 21:54:21 +02:00
{% if article.modified %}
<h6 class="f5 lh-solid normal ma0 mt2 light-silver">
Revised on {{ article.modified | strftime('%d %b %Y') }}
</h6>
{% endif %}
2020-07-09 13:29:27 +02:00
{{ article.content }}
</div>
</div>
</main>
{% endblock %}