This commit is contained in:
2025-10-23 08:41:23 +00:00
parent 096a268daa
commit d8b185bacc
2 changed files with 14 additions and 4 deletions

View File

@ -6,11 +6,18 @@
<div class="container">
<article class="post-type-{{ post.type }}" id="post-{{ post.id }}">
<!-- <img src="{{ post.thumbnail.src }}" /> -->
<p class="my-5 position-relative fs-5 fw-bold sp-module-title">
{% if post.category %}
{{ post.category }}
{% else %}
{{ post.post_type == 'opinion' ? 'Opinión' : 'Sin categoría' }}
{% endif %}
</p>
<section class="article-content mt-5 border-dark border-top">
<h1 class="article-h1">{{ post.title }}</h1>
<p class="blog-author mt-3 mb-5 border-dark border-bottom">
<p class="blog-author mt-4 mb-3 border-dark border-bottom">
<span>{{ __('Autor', 'Sindikatua')}}:</span>
<a href="{{ post.author.path }}">{{ post.author.name }}</a>
<span>&bull;</span>
@ -21,7 +28,7 @@
</section>
<!-- comments -->
<p>{{ __('No se puede comentar', 'Sindikatua') }}</p>
<p class="mt-5 border-dark border-top fst-italic">{{ __('No se puede comentar', 'Sindikatua') }}</p>
{# <section class="comment-box mt-5 p-2 border-dark border-top">
<div class="comments">
@ -42,6 +49,7 @@
{% include 'partials/comment-form.twig' %}
{% endif %}
</section> #}
</article>
</div>
{% endblock %}