Go to file
2023-05-25 01:08:25 +02:00
.githooks First basic website scaffolder 2023-05-25 01:08:25 +02:00
content First basic website scaffolder 2023-05-25 01:08:25 +02:00
sass First basic website scaffolder 2023-05-25 01:08:25 +02:00
static First basic website scaffolder 2023-05-25 01:08:25 +02:00
templates First basic website scaffolder 2023-05-25 01:08:25 +02:00
.gitignore First basic website scaffolder 2023-05-25 01:08:25 +02:00
.gitmodules First basic website scaffolder 2023-05-25 01:08:25 +02:00
config.toml First basic website scaffolder 2023-05-25 01:08:25 +02:00
LICENSE.txt First basic website scaffolder 2023-05-25 01:08:25 +02:00
README.md First basic website scaffolder 2023-05-25 01:08:25 +02:00

A website that uses Zola

Development

zola serve

Generating the static site

zola build -o /path/to/generated/static/site

Including a gallery in a post

  • Use YOGA to reduce the size of the pictures (JPEG 60%, 1600px max, is far enough for the web!), and store the optimized images in path/to/opti.
  • Use fgallery -s path/to/opti ./content/.../my-post/gallery.
  • Replace the processed images as YOGA does a better job than fgallery:
    rm my-post/gallery/imgs/* && cp path/to/opti/* my-post/gallery/imgs/
  • Link it with [link to gallery](./gallery/) from the post in Markdown.