15 lines
No EOL
373 B
Text
15 lines
No EOL
373 B
Text
{% if popularPosts.size > 0 %}
|
|
<h2 class="link-list-header flex-centered">
|
|
{% tablericon "flame" "Popular" %}
|
|
Popular posts
|
|
</h2>
|
|
<ul class="link-list">
|
|
{% for post in popularPosts limit: 5 %}
|
|
<li>
|
|
<a class="no-underline" href="{{ post.slug }}" title="{{ post.title | escape}}">
|
|
{{ post.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %} |