implemented eleventy filter for links

This commit is contained in:
sundae 2025-10-19 15:55:35 +03:00
parent fb24c6a302
commit c8223447a0
No known key found for this signature in database
41 changed files with 230 additions and 205 deletions

View file

@ -7,14 +7,18 @@ icon: "m5 3h15l7 7v20H5zm5 22h12v-3H10zm0-6h12v-3H10zm0-6h9v-3h-9z"
<ul role="list">
{% for post in collections.posts reversed %}
<li>
<a href="{{post.url}}"></svg>{{post.fileSlug}}
<a href="{{post.url}}">
</svg>{{post.fileSlug}}
<p>published:<time datetime="{{post.data.date|ISO}}">{{post.data.date|readable}}</time></p>
{% if post.data.modified %}
<p>last edited:<time datetime="{{post.data.modified}}">{{post.data.modified|readable}}</time></p>
<p>last modified:<time datetime="{{post.data.modified}}">{{post.data.modified|readable}}</time></p>
{%endif%}
<p>{{post.data.description}}</p>
</a>
</li>
{% endfor %}
<article>
<p>...I'll eventually write more stuff worth talking about on here when the motivation strikes.</p>
</article>
</ul>
</section>
</section>