Update to Eleventy v3 #11
2 changed files with 9 additions and 4 deletions
|
@ -24,9 +24,14 @@ imageCaption: ""
|
|||
</div>
|
||||
{% endif %}
|
||||
{% 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">
|
||||
{% 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>
|
||||
{% endif %}
|
||||
</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 ]">
|
||||
<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>
|
||||
</article>
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue