From da26e9cfbaa59acf3f6e2d6548abdf034c86e6e4 Mon Sep 17 00:00:00 2001 From: Ayo Date: Mon, 29 May 2023 01:29:49 +0200 Subject: [PATCH] =?UTF-8?q?put=20image=20attrib=20and=20alt=20back=20in=20?= =?UTF-8?q?one=20line=20=F0=9F=A4=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _layouts/post.html | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 6422ff8..2ba50fa 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -41,25 +41,27 @@ layout: default src="../assets/images/{{page.image}}.jpg" /> - {% if page.image-alt %} -

- {{ page.image-alt }} -

- {% endif %} - {% if page.image-attrib %} - {% if page.image-attrib-url %} -

- Photo © {{ page.image-attrib }} -

- {% else %} -

- Photo © {{ page.image-attrib }} -

+

+ {% if page.image-alt %} + + {{ page.image-alt }} + {% endif %} - {% endif %} -

+ {% if page.image-attrib %} + + {% if page.image-alt %} + • + {% endif %} + {% if page.image-attrib-url %} + + Photo © {{ page.image-attrib }} + + {% else %} + Photo © {{ page.image-attrib }} + {% endif %} + {% endif %} +

{% endif %}