18 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
putetrekk
6e69aa05a7
Reduce favicon emoji size 90 -> 80 (#561) 2021-04-09 14:50:23 -04:00
dragoniansec
2bf5922c93
Very crucial fix (#461) 2021-03-23 20:12:36 -04:00
almaember
a530970a07
Add main tag to article footer (#458)
* Add main tag to article footer

* Add main tag to article header
2021-03-23 18:05:53 -04:00
Luke Smith
b0e7268206
Revert "Merge branch 'remnny-header-link'"
This reverts commit 5e23604d55349b1db4e75c394fe912a01e7793fc, reversing
changes made to d5e5efd3678213aa5b6ea8ad6f410db865813dc6.
2021-03-23 18:03:32 -04:00
Luke Smith
be421da9af
Merge branch 'master' into header-link 2021-03-23 17:54:02 -04:00
Luke Smith
ffb7ee015b
l 2021-03-23 08:35:38 -04:00
Luke Smith
918eb8b4e1
i like this one more 2021-03-22 21:45:27 -04:00
Clément
7d09a82263
Add a lightweight inline favicon (#256)
Browser will query for a favicon if none were specified.
Using emoji and SVG we can create a very light favicon that is still descriptive of the website and avoid having one more request done to the server for nothing.
2021-03-21 15:14:10 -04:00
Alexander Johansen
84fa088025
add meta description tag (#339)
This will get the site a better SEO score in Lighthouse. I believe it's used by search engines to show a description for the site? Good nonetheless. (if it should be changed lemme know)
2021-03-21 13:29:45 -04:00
Rikard Karlsen
e5ec797329 Make site scale properly on mobile 2021-03-18 16:40:47 +01:00
remnny
016eaa602d Header now links to homepage
because i find myself clicking on it and being disappointed that it isn't a link.
2021-03-15 10:01:12 -04:00
Luke Smith
c3287d9a19
responsive css: multi-column list on wide screens 2021-03-15 08:57:49 -04: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
d42399ae92 add list of tag links at the end of each recipe 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