diff options
author | HombreLaser <buran@silosneeded.com> | 2024-07-13 14:05:07 -0600 |
---|---|---|
committer | HombreLaser <buran@silosneeded.com> | 2024-07-13 14:05:07 -0600 |
commit | 4039b9bfe2de55b75a550467eac0ca27c485afdd (patch) | |
tree | c0b8a7a6347c631103aafe674d4549d0cbc7de95 /categories.liquid | |
parent | 881f4e0a9f75df2eb230ced95a3823008100f777 (diff) |
Improve archive and categories page layouts
Diffstat (limited to 'categories.liquid')
-rw-r--r-- | categories.liquid | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/categories.liquid b/categories.liquid index c4cccbf..23b31a1 100644 --- a/categories.liquid +++ b/categories.liquid @@ -6,10 +6,16 @@ permalink: /categories.html <div class="column"> {% for tag in site.tags %} <h1>{{ tag[0] }}</h1> - <ul> {% for post in tag[1] %} - <li><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%b %-d" }} - {{ post.title }}</a></li> - {% endfor %} - </ul> - {% endfor %} + <div class="columns"> + <div class="column archive-date is-3"> + {% capture month%}{{ post.date | date: "%b" }}{% endcapture %} + {{ site.data[site.active_lang].strings.date[month]}} {{ post.date | date: "%e, %Y" }} + </div> + <div class="column pull-left"> + <a href="{{ site.baseurl}}{{ post.url }}">{{ post.title }}</a> + </div> + </div> + {% endfor %} + {% endfor %} </div> |