This commit is contained in:
Simon Vieille 2022-09-27 20:20:51 +02:00
parent 5d0210620b
commit f16fa35515
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -14,13 +14,13 @@
</h2> </h2>
<ul class="md:flex md:gap-3 pl-0"> <ul class="md:flex md:gap-3 pl-0">
<li class="pl-0 mt-0"> <li class="pl-0 mt-0 sm:mb-0">
<time datetime="{{ post.publishedAt|date("Y-m-d") }}" title="{{ post.publishedAt|date("r") }}"> <time datetime="{{ post.publishedAt|date("Y-m-d") }}" title="{{ post.publishedAt|date("r") }}">
{{- 'Le ' ~ post.publishedAt|date("d/m/Y à H\\hi") -}} {{- 'Le ' ~ post.publishedAt|date("d/m/Y à H\\hi") -}}
</time> </time>
</li> </li>
{% for category in post.categories %} {% for category in post.categories %}
<li class="pl-0 mt-0"> <li class="pl-0 mt-0 sm:mb-0">
<a href="{{ safe_path('blog_menu_category', {category: category.id, slug: category.slug, _domain: _domain}) }}"> <a href="{{ safe_path('blog_menu_category', {category: category.id, slug: category.slug, _domain: _domain}) }}">
{{- category.title -}} {{- category.title -}}
</a> </a>
@ -28,7 +28,7 @@
{% endfor %} {% endfor %}
{% for tag in post.tags %} {% for tag in post.tags %}
<li class="pl-0 mt-0"> <li class="pl-0 mt-0 sm:mb-0">
<a href="{{ safe_path('blog_menu_search', {tag: tag.label, _domain: _domain}) }}"> <a href="{{ safe_path('blog_menu_search', {tag: tag.label, _domain: _domain}) }}">
{{- '#' ~ tag.label -}} {{- '#' ~ tag.label -}}
</a> </a>