mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
🐛 fix(home-banner): allow missing image & correct spacing (#123)
Also removes the necessity for $BASE_URL in specifying home banner images.
This commit is contained in:
parent
7d8ed20c24
commit
9c3e5d3990
6 changed files with 81 additions and 75 deletions
|
@ -101,7 +101,7 @@ section_path = "blog/_index.md"
|
|||
|
||||
```
|
||||
[extra]
|
||||
header = {title = "Hello! I'm tabi~", img = "$BASE_URL/img/main.webp" }
|
||||
header = {title = "Hello! I'm tabi~", img = "img/main.webp" }
|
||||
```
|
||||
|
||||
The content outside the front matter will be rendered between the header title and the posts listing. In the screenshot above, it's the text that reads "tabi is a fast, lightweight, and modern Zola theme…".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue