1
0
Fork 0

reverse TIL ordering, add underlines

This commit is contained in:
Ava Gaiety W 2023-09-13 11:43:39 -04:00
parent 7fd3a00dc7
commit 49383758f9

View file

@ -3,9 +3,9 @@
{% block main %} {% block main %}
<main class="mt-12 max-w-md mx-auto grid gap-5 grid-cols-2 text-sm"> <main class="mt-12 max-w-md mx-auto grid gap-5 grid-cols-2 text-sm">
<h3 class="text-center text-xs col-span-2 text-white">Inspired by <a class="underline" href="https://leebyron.com/til/">Lee Byron's TIL entry log</a> to <a class="underline" href="https://www.swyx.io/learn-in-public/">learn in public.</h3> <h3 class="text-center text-xs col-span-2 text-white">Inspired by <a class="underline" href="https://leebyron.com/til/">Lee Byron's TIL entry log</a> to <a class="underline" href="https://www.swyx.io/learn-in-public/">learn in public.</h3>
{%- for post in collections.tils -%} {%- for post in collections.tils | reverse -%}
<div class="flex flex-row text-white"> <div class="flex flex-row text-white">
<a href="{{ post.url }}"> <a href="{{ post.url }}" class="underline">
<h3 class="font-semibold"> <h3 class="font-semibold">
{{ post.data.title }} {{ post.data.title }}
</h3> </h3>