Commit Graph

5 Commits

Author SHA1 Message Date
Filip Strajnar
f15962a58a This service worker will allow users to have fullly operational website even offline. Every asset they ever load will be cached, allowing the use in remote areas or in cases of bad reception. Strategy used is network first, but there is also a function for cache first approach in case it's more suitable (user would have to manually clear old assets in order for new one to load). 2021-07-04 14:06:32 +02:00
Sylvain Gauthier
18d49745d5 update footer 2021-03-15 10:49:18 +11:00
Sylvain Gauthier
be0c2dd2ce get ready for merge 2021-03-15 10:36:14 +11:00
Sylvain Gauthier
1d7d2b6ab8 fix
- Set correct title on pages (remove leading '#')
- Remove main title on recipe pages
- Put metadata at the end of articles
2021-03-15 10:35:05 +11:00
Sylvain Gauthier
9e99745276 use a clean Makefile system to build/deploy site
This way, we get dependency/smart update for free. We don't need to
rebuild all the pages everytime a new one is added. The author, date of
creation and date of revision are extracted from git information. The
index is generated automatically, so adding a recipe is literally just
adding a markdown file in src/.

The deployment system uses rsync to push only newer data to the server.

There is a tag system that you can add at the end of each recipe file.
Tag pages are generated statically that contain all recipes with a given
tag.

It introduces more HTML template files, though.

To build website, type
make build

To deploy it,
make deploy

To clean everything,
make clean
2021-03-15 10:34:59 +11:00