2
0
mirror of https://github.com/offen/website.git synced 2024-11-23 09:20:33 +01:00
website/homepage/theme/templates/archives.html

41 lines
1.7 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
2019-12-23 19:44:46 +01:00
{% set title = 'Fair analytics blog | Offen' %}
2020-07-02 21:18:30 +02:00
{% set description = 'Developing an open alternative to common web analytics tools. Gain insights while your users have full access to their data. Lightweight, self hosted and free.' %}
{% set href = 'blog/' %}
{% set no_stats = False %}
{% set template = 'archives' %}
2020-08-06 11:02:17 +02:00
{% set bottom_cta = 'index' %}
{% block content %}
2020-08-05 21:24:39 +02:00
<div class="mw8 center cclr-bg-white-responsive pr5-l">
2020-08-05 20:58:15 +02:00
<div class="flex flex-wrap mt0 mt5-l">
{% for article in articles %}
<div class="w-100 w-50-l">
{% if loop.index != 1 %}
2020-08-05 21:24:39 +02:00
<hr class="mb5 b--none db dn-l">
2020-08-05 20:58:15 +02:00
{% endif %}
<article class="w-100 mt5-m mt0-l gray">
2020-08-05 21:24:39 +02:00
<div class="mw8 center pv5 ph3 ph5-m pr0-l pl5-l bg-white">
2020-08-05 20:58:15 +02:00
<figure class="larger-image mb4">
<a href="/blog/{{ article.slug }}/">
2020-08-05 20:58:15 +02:00
<img alt="{{ article.title }}" src="{{ article.image_url }}"/>
</a>
</figure>
<h6 class="f5 lh-solid normal ma0 light-silver">
{{ article.date | strftime('%d %b %Y') }}{% if article.modified %}(article.updated {{ article.modified | strftime('%d %b %Y') }}){% endif %}, {{ article.author }}
</h6>
2020-08-05 21:24:39 +02:00
<h1 class="f26 normal lh-title mt3 ma0 mb3 light-silver">
<a href="/blog/{{ article.slug }}/" class="link b dim gray">{{ article.title }}</a>
2020-08-05 20:58:15 +02:00
</h1>
<p>
{{ article.description }} <a href="/blog/{{ article.slug }}/" class="link b dim gray">Read more</a>
2020-08-05 20:58:15 +02:00
</p>
</div>
</article>
</div>
{% endfor %}
2020-08-05 20:58:15 +02:00
</div>
</div>
{% endblock %}