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 000000000..1f9b1ff0b 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 000000000..6921d9f52 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 000000000..da6c54980 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 000000000..2bb0b4f39 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 000000000..a0ad2c315 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 000000000..d496bc3a7 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 000000000..e77932845 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 000000000..bf37a2fe6 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 000000000..6b85d02ac 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 000000000..a95ebab0c 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 000000000..690cd7c59 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 000000000..85ca3267f 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 000000000..d294c476a 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 000000000..e030e100d 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 000000000..42c81cd16 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 000000000..2836d66f5 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 000000000..9f49af62c 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 000000000..bdb90743e 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 000000000..62bec8ab7 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 000000000..eaaea0f39 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 000000000..2e6aa32ae --- /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