publishing Paxover to Codeberg

This commit is contained in:
2023-01-12 20:00:00 +01:00
commit 690707f090
45 changed files with 1796 additions and 0 deletions

17
templates/post.html.twig Normal file
View File

@@ -0,0 +1,17 @@
{% extends 'partials/base.html.twig' %}
{% set hero_image = page.media.images|first %}
{% block content %}
<article class="post">
<h2>{{ page.title }}</h2>
<div class="meta">
<p>{{ page.date|date("d") }}.{{ page.date|date("m") }}.{{ page.date|date("Y") }}</p>
<p>Tagi: {% for tag in page.taxonomy.tag %}<a href="{{ theme_config.blog.slug }}/tag:{{tag}}">{{ tag }}</a>&ensp;{% endfor %}</p>
</div>
{{ page.content | raw }}
</article>
{% if not page.header.disableSharing %}
{% include 'partials/share.html.twig' %}
{% endif %}
{% include 'partials/comments.html.twig' %}
{% endblock %}