publishing Paxover to Codeberg
This commit is contained in:
17
templates/post.html.twig
Normal file
17
templates/post.html.twig
Normal 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> {% endfor %}</p>
|
||||
</div>
|
||||
{{ page.content | raw }}
|
||||
</article>
|
||||
{% if not page.header.disableSharing %}
|
||||
{% include 'partials/share.html.twig' %}
|
||||
{% endif %}
|
||||
{% include 'partials/comments.html.twig' %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user