style: image alt and attrib in one line

This commit is contained in:
Ayo 2023-05-28 23:39:06 +02:00
parent c051e7fb48
commit 7dd037634b
5 changed files with 24 additions and 21 deletions

View file

@ -40,22 +40,25 @@ layout: default
title="{{page.description | escape}}" title="{{page.description | escape}}"
src="../assets/images/{{page.image}}.jpg" src="../assets/images/{{page.image}}.jpg"
/> />
<p class="blog-post__header__image-caption">
{% if page.image-alt %} {% if page.image-alt %}
<p class="blog-post__header__image-caption">
{{ page.image-alt }} {{ page.image-alt }}
</p>
{% endif %} {% endif %}
{% if page.image-attrib %} {% if page.image-attrib-url %} {% if page.image-attrib %}
<p class="blog-post__header__image-caption"> {% if page.image-alt %}
{% endif %}
{% if page.image-attrib-url %}
<a href="{{ page.image-attrib-url }}" targe="_blank" <a href="{{ page.image-attrib-url }}" targe="_blank"
>Photo &copy; {{ page.image-attrib }}</a >Photo &copy; {{ page.image-attrib }}</a
> >
</p>
{% else %} {% else %}
<p class="blog-post__header__image-caption">
Photo &copy; {{ page.image-attrib }} Photo &copy; {{ page.image-attrib }}
{% endif %}
{% endif %}
</p> </p>
{% endif %} {% endif %}
{% endif %} {% endif %}

View file

@ -3,8 +3,8 @@ title: "You Don't Need a Mentor"
image: eating-out image: eating-out
permalink: /weekly-review-13/ permalink: /weekly-review-13/
description: "Accountability is the real underlying principle we need" description: "Accountability is the real underlying principle we need"
image-attrib: >- image-attrib: Ayo Ayco
Ayo Ayco. Since the pandemic, "eating out" meant we buy food somewhere and eat in the car image-alt: Since the pandemic, "eating out" meant we buy food somewhere and eat in the car
category: personal category: personal
--- ---

View file

@ -3,8 +3,8 @@ title: "Anxiety and Importance of Rest"
image: biggest-snail image: biggest-snail
permalink: /weekly-review-14/ permalink: /weekly-review-14/
description: "Just some musings on active waiting and resting" description: "Just some musings on active waiting and resting"
image-attrib: >- image-attrib: Ayo Ayco
Ayo Ayco. The biggest snail we found; seems the most accomplished snail taking its time. Haha! image-alt: The biggest snail we found; seems the most accomplished snail taking its time. Haha!
category: personal category: personal
--- ---

View file

@ -3,8 +3,8 @@ title: "What's the Real Next Action?"
image: kribbestraat-55 image: kribbestraat-55
permalink: /weekly-review-15/ permalink: /weekly-review-15/
description: "All projects can be daunting if you don't start this habit." description: "All projects can be daunting if you don't start this habit."
image-attrib: >- image-attrib: Ayo Ayco
Ayo Ayco. Winter time in the city. image-alt: Winter time in the city
category: personal category: personal
--- ---

View file

@ -3,7 +3,7 @@ title: "Introduction to Astro - Coven of Wisdom Amsterdam 2023"
permalink: /:title/ permalink: /:title/
image: astro-amsterdam-2023 image: astro-amsterdam-2023
image-attrib: Lee Ravenberg image-attrib: Lee Ravenberg
image-alt: Ayo Ayco, presenting Astro app creation tool in front of a crowd image-alt: Presenting Astro app creation in front of a crowd
description: "Fun squeezing awesome Astro stuff into a tiny meetup talk" description: "Fun squeezing awesome Astro stuff into a tiny meetup talk"
category: talks category: talks
--- ---