[Markdown (mostly)] This is the repo of my website https://hya.sk/
Go to file
2024-05-17 22:09:27 +02:00
.githooks Update post-receive git hook 2024-05-07 18:10:37 +02:00
content content: 2024: engineering and martial arts 2024-05-17 22:09:27 +02:00
sass style: better blockquotes 2023-12-24 00:04:00 +01:00
static index: link to GPG key 2023-10-18 00:40:31 +02:00
templates template: fix tag size when tag count > 10 2023-10-18 01:29:15 +02:00
.gitignore gitignore: we don't track hugo locks 2022-06-02 19:06:17 +02:00
.gitmodules Migrate to hugo blog 2020-09-25 12:55:40 +02:00
config.toml config: fix 'archives' link 2023-03-01 15:19:18 +01:00
LICENSE.txt First commit 2015-12-21 09:17:45 +01:00
new-article.sh Add 'new-article.sh' helper, to quickly spawn new articles 2024-05-17 21:22:39 +02:00
README.md content: homemade-joystick: embed gallery 2023-02-01 17:47:15 +01: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.