🍱 improvement: use webp instead of png

main
welpo 2 years ago
parent f555d34207
commit 7a69759112
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -6,7 +6,7 @@ sort_by = "date"
template = "section.html"
[extra]
desc = {title = "Hello! I'm tabi~", img = "$BASE_URL/img/main.png" }
desc = {title = "Hello! I'm tabi~", img = "$BASE_URL/img/main.webp" }
+++
Tabi is a simple theme for [Zola](https://www.getzola.org/). It aims to be a personal page and home to blog posts. It features responsive design, dark and light modes, and high performance.

@ -20,7 +20,7 @@ Here's an example of a table. Its header colour changes depending on the current
This image inverts when switching to dark mode. This isn't very useful for photographs, but works great for diagrams, line drawings, graphs…
{{ invertable_image(src="$BASE_URL/img/graph.png", alt="Invertable graph") }}
{{ invertable_image(src="$BASE_URL/img/graph.webp", alt="Invertable graph") }}
## Code Block
@ -39,4 +39,3 @@ fn main() {
Lorem ipsum `dolor` sit amet, `consectetur adipiscing` elit.
`Lorem ipsum dolor sit amet, consectetur adipiscing elit.`

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Loading…
Cancel
Save