chore: organization

This commit is contained in:
Cory Dransfeldt 2024-04-29 18:12:37 -07:00
parent 1932b02c8f
commit e3e4ab0335
No known key found for this signature in database
39 changed files with 44 additions and 44 deletions

View file

@ -0,0 +1,16 @@
{% assign posts = posts | getPopularPosts: analytics %}
{% if posts.size > 0 %}
<h2 class="link-list-header flex-centered">
{% tablericon "flame" "Popular" %}
Popular posts
</h2>
<ul class="link-list">
{% for post in posts limit: 5 %}
<li>
<a class="no-underline" href="{{post.url}}" title="{{ post.data.title | escape}}">
{{ post.data.title }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}