feat: fix tag list in catalogue-item.html
This commit is contained in:
parent
c2471ea467
commit
6084396e0b
2 changed files with 9 additions and 4 deletions
|
@ -24,9 +24,14 @@ imageCaption: ""
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if filteredTags | length > 0 %}
|
{% if filteredTags | length > 0 %}
|
||||||
<ul class="[ categories ] [ cluster p-0 flow-space-2 line-height-m ]"
|
<ul class="[ cluster p-0 flow-space-2 line-height-m text-fadeText ]"
|
||||||
role="list">
|
role="list">
|
||||||
{% for tag in filteredTags %}<li class="[ flex gap-0.25 ]">{{ tag }}</li>{% endfor %}
|
{% for tag in filteredTags %}
|
||||||
|
<li class="[ flex gap-0.25 items-center ]">
|
||||||
|
<span class="text-border">{% include "svgs/frame.svg" %}</span>
|
||||||
|
{{ tag }}
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% macro one(post, format = "MM/DD") %}
|
{% macro one(post, fmt = "MM/DD") %}
|
||||||
<article class="[ posts-list-item column-gap-0.5 justify-between line-height-l ]">
|
<article class="[ posts-list-item column-gap-0.5 justify-between line-height-l ]">
|
||||||
<a href="{{ post.url }}">{{ post.data.title }}</a>
|
<a href="{{ post.url }}">{{ post.data.title }}</a>
|
||||||
<time datetime="{{ post.date }}" class="[ text-fadeText ]">{{ post.date | formatDate(<built-in function format>) }}</time>
|
<time datetime="{{ post.date }}" class="[ text-fadeText ]">{{ post.date | formatDate(fmt) }}</time>
|
||||||
<p class="[ text-fadeText font-size-s line-height-m ]">{{ post.data.excerpt }}</p>
|
<p class="[ text-fadeText font-size-s line-height-m ]">{{ post.data.excerpt }}</p>
|
||||||
</article>
|
</article>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue