fix tags
This commit is contained in:
parent
5d0210620b
commit
f16fa35515
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue