chore: add recent links widget

This commit is contained in:
Cory Dransfeldt 2024-03-13 16:18:47 -07:00
parent 7443d797a9
commit 56f28f7e3f
No known key found for this signature in database
22 changed files with 91 additions and 62 deletions

View file

@ -0,0 +1,15 @@
{% if links.size > 0 %}
<h2 id="links" class="flex--centered">
{% tablericon "link" "Links" %}
Recent links
</h2>
<ul class="link__list">
{% for link in links limit: 5 %}
<li>
<a href="{{link.url}}" title="{{link.title | escape}}">
{{ link.title }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}