feat(header): add img_alt attribute for customisable alt text (#153)

This commit is contained in:
Óscar
2023-09-13 19:49:09 +02:00
committed by GitHub
parent f1d92a73ce
commit 1c87b96ac1
6 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ sort_by = "date"
template = "section.html"
[extra]
header = {title = "Hola! Soc tabi~", img = "img/main.webp" }
header = {title = "Hola! Soc tabi~", img = "img/main.webp", img_alt = "Óscar Fernández, l'autor de tabi" }
section_path = "blog/_index.ca.md"
max_posts = 4
social_media_card = "img/social_cards/ca.jpg"

View File

@@ -5,7 +5,7 @@ sort_by = "date"
template = "section.html"
[extra]
header = {title = "¡Hola! Soy tabi~", img = "img/main.webp" }
header = {title = "¡Hola! Soy tabi~", img = "img/main.webp", img_alt = "Óscar Fernández, el autor de tabi" }
section_path = "blog/_index.es.md"
max_posts = 4
social_media_card = "img/social_cards/es.jpg"

View File

@@ -5,7 +5,7 @@ sort_by = "date"
template = "section.html"
[extra]
header = {title = "Hello! I'm tabi~", img = "img/main.webp" }
header = {title = "Hello! I'm tabi~", img = "img/main.webp", img_alt = "Óscar Fernández, the theme's author" }
section_path = "blog/_index.md"
max_posts = 4
social_media_card = "img/social_cards/index.jpg"