From c7f5899b9d1f1cf947aff612fc5495ce59bf1c43 Mon Sep 17 00:00:00 2001 From: Ayo Date: Wed, 9 Jul 2025 20:56:38 +0200 Subject: [PATCH] feat: post alt texts --- _layouts/post.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 1e207fc..7151c56 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -19,7 +19,7 @@ layout: default datetime="{{ page.date | date: "%Y-%m-%d" }}" itemprop="datePublished" > - + 🗓️ {% assign date_format = "%b %-d, %Y" %} {{ page.date | date: date_format }} @@ -27,11 +27,12 @@ layout: default {{page.image-alt | escape}} • Header image for: {{page.title | escape}} • {{page.description | escape}} • {{site.title | escape}} • {{site.description | escape}} • {{site.author | escape}}

- {% if page.image-alt %} + {% if page.image-alt %} {{ page.image-alt }} {% endif %} {% if page.image-attrib %} - {% if page.image-alt %} + {% if page.image-alt %} • {% endif %} {% if page.image-attrib-url %} @@ -60,7 +61,7 @@ layout: default {% endif %} {% endif %}

- + {% endif %} @@ -99,4 +100,4 @@ layout: default - \ No newline at end of file +