15 lines
No EOL
595 B
Text
15 lines
No EOL
595 B
Text
{% if articles.size > 0 %}
|
|
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
|
|
{% tablericon "news" "Articles" %}
|
|
Articles
|
|
</h2>
|
|
<ul class="list-inside list-disc pl-5 md:pl-10">
|
|
{% for article in articles limit: 5 %}
|
|
<li class="mt-1.5 mb-2">
|
|
<a href="{{article.url}}" title="{{article.title | escape}}">
|
|
{{ article.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %} |