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

36 lines
1.3 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">
{{ 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 %}