Files
website/templates/blog.html
T
2026-08-22 14:49:33 +02:00

50 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% block content %}
<!-- If you are using pagination, section.pages will be empty. You need to use the paginator object -->
{% for page in section.pages %}
{% if page.taxonomies.type %}
{% set pageType = page.taxonomies.type | first %}
{% if pageType == "page" %}
{% continue %}
{% endif %}
{% endif %}
<section class="entry">
<div class="column-left">
<p>{{ page.date }}</p>
{% if page.taxonomies.tags %}
{% for t in page.taxonomies.tags %}
<p class="tag-link">
#{{ t }}
</p>
<br>
{% endfor %}
{% endif %}
</div>
<div class="column-right">
<h1><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h1>
<div class="mobile">
<p>{{ page.date }}</p>
<div class="tags">
{% if page.taxonomies.tags %}
{% for t in page.taxonomies.tags %}
<p class="tag-link">
#{{ t }}
</p>
<br>
{% endfor %}
{% endif %}
</div>
</div>
<p>{{ page.summary | safe }}</p>
</section>
{% endfor %}
{% endblock content %}