1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

code: better link styling

This commit is contained in:
RGBCube 2025-06-02 23:46:18 +03:00
parent c96c59ecf5
commit ab09647f76
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 36 additions and 19 deletions

View file

@ -20,12 +20,9 @@ Blog Articles
<ul>
{{ for article of search.pages("type=article", "order=asc date=desc")}}
<li class="flex">
<!-- Nope, m-0 doesn't work! -->
<code style="margin:0" class="pr-1.25">
<a class="text-right" href="{{ article.url }}">
<a class="text-right font-mono" style="margin-right:calc(var(--spacing)*2)" href="{{ article.url }}">
{{ article.date.toISOString().slice(2, 10).replaceAll("-", " ") }}
</a>
</code>
{{ article.title |> md }}
</li>