🐛 fix(home-banner): allow missing image & correct spacing

Also allows using normal paths for the banner image, without "$BASE_URL".
This commit is contained in:
welpo 2023-08-29 15:19:00 +02:00
parent 7d8ed20c24
commit 00e1a8e80e
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
6 changed files with 81 additions and 75 deletions

View file

@ -5,7 +5,7 @@ sort_by = "date"
template = "section.html"
[extra]
header = {title = "Hola! Soc tabi~", img = "$BASE_URL/img/main.webp" }
header = {title = "Hola! Soc tabi~", img = "img/main.webp" }
section_path = "blog/_index.ca.md"
max_posts = 4
+++

View file

@ -5,7 +5,7 @@ sort_by = "date"
template = "section.html"
[extra]
header = {title = "¡Hola! Soy tabi~", img = "$BASE_URL/img/main.webp" }
header = {title = "¡Hola! Soy tabi~", img = "img/main.webp" }
section_path = "blog/_index.es.md"
max_posts = 4
+++

View file

@ -5,7 +5,7 @@ sort_by = "date"
template = "section.html"
[extra]
header = {title = "Hello! I'm tabi~", img = "$BASE_URL/img/main.webp" }
header = {title = "Hello! I'm tabi~", img = "img/main.webp" }
section_path = "blog/_index.md"
max_posts = 4
+++