chore: organize + clean up

This commit is contained in:
Cory Dransfeldt 2023-07-07 13:37:27 -07:00
parent ddc2e30375
commit 95581a079c
No known key found for this signature in database
27 changed files with 172 additions and 15 deletions

View file

@ -0,0 +1,16 @@
{% assign posts = collections.posts | getPopularPosts: analytics %}
<div class="not-prose">
<h2 class="m-0 text-xl flex flex-row items-center font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
{% heroicon "outline" "fire" "Popular" "height=28" %}
<div class="ml-1">Popular posts</div>
</h2>
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for post in posts %}
<li class="mt-1.5 mb-2">
<a href="{{post.url}}" title="{{ post.data.title | escape}}">
{{ post.data.title }}
</a>
</li>
{% endfor %}
</ul>
</div>