This commit is contained in:
2026-09-07 00:47:32 +02:00
parent 2eced36997
commit c994bf283a
88 changed files with 3018 additions and 587 deletions
+26 -40
View File
@@ -1,49 +1,35 @@
{% 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 %}
<div class="main journal">
<h1 class="subtitle">Journal</h1>
<section class="entry">
<div class="column-left">
<p>{{ page.date }}</p>
<!-- 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.tags %}
{% for t in page.taxonomies.tags %}
<p class="tag-link">
#{{ t }}
</p>
<br>
{% endfor %}
{% endif %}
{% if page.taxonomies.type %}
{% set pageType = page.taxonomies.type | first %}
{% if pageType == "page" %}
{% continue %}
{% endif %}
{% endif %}
<section class="entry">
<h2><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h2>
<div class="meta">
<p class="date">{{ page.date | date(format="%d %b %Y") }}</p>
<p class="split">&middot;</p>
<div class="tags">
{% if page.taxonomies.tags %}
{% for t in page.taxonomies.tags %}
<p class="tag">{{ t }}</p>
{% endfor %}
{% endif %}
</div>
</div>
<p>{{ page.summary | safe }}</p>
</section>
{% endfor %}
</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 %}