From 449f71511e539878af4c65f073cdc373b469c45e Mon Sep 17 00:00:00 2001 From: João Augusto Costa Branco Marado Torres Date: Sun, 6 Jul 2025 22:27:04 -0300 Subject: feat: more structured data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Augusto Costa Branco Marado Torres --- src/components/templates/SimplePostList.astro | 33 +++++++++++++++++++-------- 1 file changed, 23 insertions(+), 10 deletions(-) (limited to 'src/components/templates/SimplePostList.astro') diff --git a/src/components/templates/SimplePostList.astro b/src/components/templates/SimplePostList.astro index c2c002b..164b32b 100644 --- a/src/components/templates/SimplePostList.astro +++ b/src/components/templates/SimplePostList.astro @@ -21,14 +21,22 @@ const { posts } = Astro.props; const display = name ?? email ?? entity; return (
  • -
    -

    {title}

    - { - description && - description.split("\n\n").map((paragraph) => ( -

    {paragraph}

    - )) - } +
    +

    + {title} +

    +
    + { + description && + description.split("\n\n").map((paragraph) => ( +

    {paragraph}

    + )) + } +
    @@ -58,7 +71,7 @@ const { posts } = Astro.props; & > article { padding-inline-end: calc(var(--size-9) * 1em); - & > p:not(:first-of-type) { + & > [itemprop="abstract"] > p:not(:first-of-type) { margin-block-start: 1.5em; } -- cgit v1.2.3