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 --- data/pix/beef-goulash.webp | Bin 0 -> 162266 bytes data/pix/cacio-e-pepe.webp | Bin 0 -> 65704 bytes data/pix/carbonara.webp | Bin 0 -> 265666 bytes data/pix/cheesy-meatballs.webp | Bin 0 -> 80978 bytes data/pix/country-skillet.webp | Bin 0 -> 120304 bytes data/pix/creamy-mashed-potatoes.webp | Bin 0 -> 48440 bytes data/pix/croutons.webp | Bin 0 -> 93514 bytes data/pix/csalad.webp | Bin 0 -> 136552 bytes data/pix/fried-anglerfish-fillet-00.webp | Bin 0 -> 67782 bytes data/pix/fried-anglerfish-fillet-01.webp | Bin 0 -> 105868 bytes data/pix/guacamole.webp | Bin 0 -> 145290 bytes data/pix/japanese-noodle-soup.webp | Bin 0 -> 13220 bytes data/pix/merchants-buckwheat.webp | Bin 0 -> 135572 bytes data/pix/pan-seared-chicken.webp | Bin 0 -> 130012 bytes data/pix/parmesan-potatoes.webp | Bin 0 -> 94062 bytes data/pix/pasta-navy-style.webp | Bin 0 -> 224476 bytes data/pix/refried-beans.webp | Bin 0 -> 63552 bytes data/pix/sunday-milkshake.webp | Bin 0 -> 57248 bytes data/pix/sweet-potato-fries.webp | Bin 0 -> 51786 bytes data/pix/tuscan-style-pork-roast.webp | Bin 0 -> 208664 bytes data/style.css | 55 +++++++++++++++++++++++++++++++ 21 files changed, 55 insertions(+) create mode 100644 data/pix/beef-goulash.webp create mode 100644 data/pix/cacio-e-pepe.webp create mode 100644 data/pix/carbonara.webp create mode 100644 data/pix/cheesy-meatballs.webp create mode 100644 data/pix/country-skillet.webp create mode 100644 data/pix/creamy-mashed-potatoes.webp create mode 100644 data/pix/croutons.webp create mode 100644 data/pix/csalad.webp create mode 100644 data/pix/fried-anglerfish-fillet-00.webp create mode 100644 data/pix/fried-anglerfish-fillet-01.webp create mode 100644 data/pix/guacamole.webp create mode 100644 data/pix/japanese-noodle-soup.webp create mode 100644 data/pix/merchants-buckwheat.webp create mode 100644 data/pix/pan-seared-chicken.webp create mode 100644 data/pix/parmesan-potatoes.webp create mode 100644 data/pix/pasta-navy-style.webp create mode 100644 data/pix/refried-beans.webp create mode 100644 data/pix/sunday-milkshake.webp create mode 100644 data/pix/sweet-potato-fries.webp create mode 100644 data/pix/tuscan-style-pork-roast.webp create mode 100644 data/style.css (limited to 'data') diff --git a/data/pix/beef-goulash.webp b/data/pix/beef-goulash.webp new file mode 100644 index 0000000..1f9b1ff Binary files /dev/null and b/data/pix/beef-goulash.webp differ diff --git a/data/pix/cacio-e-pepe.webp b/data/pix/cacio-e-pepe.webp new file mode 100644 index 0000000..6921d9f Binary files /dev/null and b/data/pix/cacio-e-pepe.webp differ diff --git a/data/pix/carbonara.webp b/data/pix/carbonara.webp new file mode 100644 index 0000000..da6c549 Binary files /dev/null and b/data/pix/carbonara.webp differ diff --git a/data/pix/cheesy-meatballs.webp b/data/pix/cheesy-meatballs.webp new file mode 100644 index 0000000..2bb0b4f Binary files /dev/null and b/data/pix/cheesy-meatballs.webp differ diff --git a/data/pix/country-skillet.webp b/data/pix/country-skillet.webp new file mode 100644 index 0000000..a0ad2c3 Binary files /dev/null and b/data/pix/country-skillet.webp differ diff --git a/data/pix/creamy-mashed-potatoes.webp b/data/pix/creamy-mashed-potatoes.webp new file mode 100644 index 0000000..d496bc3 Binary files /dev/null and b/data/pix/creamy-mashed-potatoes.webp differ diff --git a/data/pix/croutons.webp b/data/pix/croutons.webp new file mode 100644 index 0000000..e779328 Binary files /dev/null and b/data/pix/croutons.webp differ diff --git a/data/pix/csalad.webp b/data/pix/csalad.webp new file mode 100644 index 0000000..bf37a2f Binary files /dev/null and b/data/pix/csalad.webp differ diff --git a/data/pix/fried-anglerfish-fillet-00.webp b/data/pix/fried-anglerfish-fillet-00.webp new file mode 100644 index 0000000..6b85d02 Binary files /dev/null and b/data/pix/fried-anglerfish-fillet-00.webp differ diff --git a/data/pix/fried-anglerfish-fillet-01.webp b/data/pix/fried-anglerfish-fillet-01.webp new file mode 100644 index 0000000..a95ebab Binary files /dev/null and b/data/pix/fried-anglerfish-fillet-01.webp differ diff --git a/data/pix/guacamole.webp b/data/pix/guacamole.webp new file mode 100644 index 0000000..690cd7c Binary files /dev/null and b/data/pix/guacamole.webp differ diff --git a/data/pix/japanese-noodle-soup.webp b/data/pix/japanese-noodle-soup.webp new file mode 100644 index 0000000..85ca326 Binary files /dev/null and b/data/pix/japanese-noodle-soup.webp differ diff --git a/data/pix/merchants-buckwheat.webp b/data/pix/merchants-buckwheat.webp new file mode 100644 index 0000000..d294c47 Binary files /dev/null and b/data/pix/merchants-buckwheat.webp differ diff --git a/data/pix/pan-seared-chicken.webp b/data/pix/pan-seared-chicken.webp new file mode 100644 index 0000000..e030e10 Binary files /dev/null and b/data/pix/pan-seared-chicken.webp differ diff --git a/data/pix/parmesan-potatoes.webp b/data/pix/parmesan-potatoes.webp new file mode 100644 index 0000000..42c81cd Binary files /dev/null and b/data/pix/parmesan-potatoes.webp differ diff --git a/data/pix/pasta-navy-style.webp b/data/pix/pasta-navy-style.webp new file mode 100644 index 0000000..2836d66 Binary files /dev/null and b/data/pix/pasta-navy-style.webp differ diff --git a/data/pix/refried-beans.webp b/data/pix/refried-beans.webp new file mode 100644 index 0000000..9f49af6 Binary files /dev/null and b/data/pix/refried-beans.webp differ diff --git a/data/pix/sunday-milkshake.webp b/data/pix/sunday-milkshake.webp new file mode 100644 index 0000000..bdb9074 Binary files /dev/null and b/data/pix/sunday-milkshake.webp differ diff --git a/data/pix/sweet-potato-fries.webp b/data/pix/sweet-potato-fries.webp new file mode 100644 index 0000000..62bec8a Binary files /dev/null and b/data/pix/sweet-potato-fries.webp differ diff --git a/data/pix/tuscan-style-pork-roast.webp b/data/pix/tuscan-style-pork-roast.webp new file mode 100644 index 0000000..eaaea0f Binary files /dev/null and b/data/pix/tuscan-style-pork-roast.webp differ diff --git a/data/style.css b/data/style.css new file mode 100644 index 0000000..2e6aa32 --- /dev/null +++ b/data/style.css @@ -0,0 +1,55 @@ +body { + max-width: 800px ; + margin: auto ; + padding: 0 16px ; + margin-bottom: 500px ; +} + +h1 { + text-align: center ; +} + +footer { + text-align: center ; +} + +img { + max-width: 600px ; + width: 100% ; + margin: auto ; + display: block ; +} + +code { + overflow-wrap: break-word ; + color: lime ; +} + +li img { + max-width: 1em ; + max-height: 1em ; + display: inline ; +} + +@media (prefers-color-scheme: dark) { + body { + background: #151515 ; + color: white ; + } + a { + color: lightblue ; + } + a:visited { + color: gray ; + } + h2 { + color: tomato ; + } +} + +@media print { + a[href] { + text-decoration: none ; + color: black ; + } +} -- cgit v1.2.3 From 4a64717c9b6d2c65a392feaf2c95e41186ea69bd Mon Sep 17 00:00:00 2001 From: Sylvain Gauthier Date: Fri, 12 Mar 2021 13:22:09 +1100 Subject: add data/ --- data/pix/bitcoin-based-cooking.webp | Bin 0 -> 558 bytes data/pix/mortar-and-pestle.webp | Bin 0 -> 54694 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 data/pix/bitcoin-based-cooking.webp create mode 100644 data/pix/mortar-and-pestle.webp (limited to 'data') diff --git a/data/pix/bitcoin-based-cooking.webp b/data/pix/bitcoin-based-cooking.webp new file mode 100644 index 0000000..1c5c8af Binary files /dev/null and b/data/pix/bitcoin-based-cooking.webp differ diff --git a/data/pix/mortar-and-pestle.webp b/data/pix/mortar-and-pestle.webp new file mode 100644 index 0000000..dd94795 Binary files /dev/null and b/data/pix/mortar-and-pestle.webp differ -- cgit v1.2.3