feat: 💄 redesign blogpost header

This commit is contained in:
Sebin Nyshkim 2024-10-20 02:44:02 +02:00
parent 1fb1591a03
commit ceb7cdb3d9
7 changed files with 37 additions and 28 deletions

View file

@ -1,6 +1,6 @@
{% macro postmeta(params) %}
<ul
class="flex flex-wrap items-center gap-4 text-base *:inline-flex *:items-center *:gap-1 *:*:stroke-sky-600"
class="flex flex-wrap items-center gap-4 {% if params.center %} justify-center {% else %} justify-start {% endif %} text-base *:inline-flex *:items-center *:gap-1 *:*:stroke-sky-600"
role="group"
aria-label="Published on {{ params.date | readableDate }}, written by {{ params.author.name }}, approximate reading time {{ params.content | readingtime }}"
>