blog.robur.coop/templates/index.html

37 lines
1.1 KiB
HTML
Raw Permalink Normal View History

<a class="small-button rss" href="{{ host }}/feed.xml">RSS</a>
2023-11-13 18:13:44 +00:00
{%- autoescape false -%}
{{ yocaml_body }}
2023-11-13 18:13:44 +00:00
{% endautoescape -%}
<h3>Essays and ramblings</h3>
<ol reversed class="list-articles">
{%- for article in articles -%}
<li>
<div class="side">
<a href="{{ article.author.link }}">
<img src="{{ article.author.avatar }}">
</a>
{%- for co_author in article.co_authors -%}
<a href="{{ coauthor.author.link }}">
<img src="{{ coauthor.author.avatar }}">
</a>
{%- endfor -%}
</div>
<div class="content">
<span class="date">{{ article.date.human }}</span>
<a href="{{ host }}{{ article.url }}">{{ article.title }}</a><br />
<p>{{ article.description }}</p>
2023-11-13 18:13:44 +00:00
<div class="bottom">
<ul class="tags-list">
{%- for tag in article.tags -%}
<li>{{ tag }}</li>
2023-11-13 18:13:44 +00:00
{%- endfor -%}
</ul>
</div>
</div>
</li>
{%- endfor -%}
</ol>