From 9e997452760399c4cc8cee7a1d39952f8112995c Mon Sep 17 00:00:00 2001 From: Sylvain Gauthier Date: Fri, 12 Mar 2021 08:46:07 +1100 Subject: 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 --- templates/index_header.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 templates/index_header.html (limited to 'templates/index_header.html') diff --git a/templates/index_header.html b/templates/index_header.html new file mode 100644 index 0000000..a222e9a --- /dev/null +++ b/templates/index_header.html @@ -0,0 +1 @@ +

Only Based cooking. No ads, no tracking, nothing but based cooking.

-- cgit v1.2.3 From 1d7d2b6ab801b1e8388a4d7ba751ec1e7f2729f7 Mon Sep 17 00:00:00 2001 From: Sylvain Gauthier Date: Fri, 12 Mar 2021 11:55:40 +1100 Subject: fix - Set correct title on pages (remove leading '#') - Remove main title on recipe pages - Put metadata at the end of articles --- templates/index_header.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/index_header.html') diff --git a/templates/index_header.html b/templates/index_header.html index a222e9a..0026f08 100644 --- a/templates/index_header.html +++ b/templates/index_header.html @@ -1 +1,5 @@ +

Only Based cooking. No ads, no tracking, nothing but based cooking.

-- cgit v1.2.3