This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/_includes/partials/widgets/recent-links.liquid

16 lines
451 B
Text

{% if links.size > 0 %}
<h3 id="links" class="link-list-header flex-centered">
{% tablericon "link" "Links" %}
Recent links
</h3>
<ul class="link-list">
{% for link in links limit: 5 %}
<li>
<a href="{{ link.link }}" title="{{ link.title | escape }}">
{{ link.title }}
</a>
{% if link.authors %} via <a href="{{ link.authors.url }}">{{ link.authors.name }}</a>{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}