summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSylvain Gauthier <s94.gauthier@laposte.net>2021-03-12 08:46:07 +1100
committerSylvain Gauthier <s94.gauthier@laposte.net>2021-03-15 10:34:59 +1100
commit9e997452760399c4cc8cee7a1d39952f8112995c (patch)
tree768dd53fe6501d2bd0b6e8b619fa56f8b76d4ab8 /data
parentfeb5d6ca8e96c579751788b676b14e72d51f84df (diff)
downloadbased.cooking-9e997452760399c4cc8cee7a1d39952f8112995c.tar
based.cooking-9e997452760399c4cc8cee7a1d39952f8112995c.tar.gz
based.cooking-9e997452760399c4cc8cee7a1d39952f8112995c.tar.lz
based.cooking-9e997452760399c4cc8cee7a1d39952f8112995c.tar.xz
based.cooking-9e997452760399c4cc8cee7a1d39952f8112995c.zip
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
Diffstat (limited to 'data')
-rw-r--r--data/pix/beef-goulash.webpbin0 -> 162266 bytes
-rw-r--r--data/pix/cacio-e-pepe.webpbin0 -> 65704 bytes
-rw-r--r--data/pix/carbonara.webpbin0 -> 265666 bytes
-rw-r--r--data/pix/cheesy-meatballs.webpbin0 -> 80978 bytes
-rw-r--r--data/pix/country-skillet.webpbin0 -> 120304 bytes
-rw-r--r--data/pix/creamy-mashed-potatoes.webpbin0 -> 48440 bytes
-rw-r--r--data/pix/croutons.webpbin0 -> 93514 bytes
-rw-r--r--data/pix/csalad.webpbin0 -> 136552 bytes
-rw-r--r--data/pix/fried-anglerfish-fillet-00.webpbin0 -> 67782 bytes
-rw-r--r--data/pix/fried-anglerfish-fillet-01.webpbin0 -> 105868 bytes
-rw-r--r--data/pix/guacamole.webpbin0 -> 145290 bytes
-rw-r--r--data/pix/japanese-noodle-soup.webpbin0 -> 13220 bytes
-rw-r--r--data/pix/merchants-buckwheat.webpbin0 -> 135572 bytes
-rw-r--r--data/pix/pan-seared-chicken.webpbin0 -> 130012 bytes
-rw-r--r--data/pix/parmesan-potatoes.webpbin0 -> 94062 bytes
-rw-r--r--data/pix/pasta-navy-style.webpbin0 -> 224476 bytes
-rw-r--r--data/pix/refried-beans.webpbin0 -> 63552 bytes
-rw-r--r--data/pix/sunday-milkshake.webpbin0 -> 57248 bytes
-rw-r--r--data/pix/sweet-potato-fries.webpbin0 -> 51786 bytes
-rw-r--r--data/pix/tuscan-style-pork-roast.webpbin0 -> 208664 bytes
-rw-r--r--data/style.css55
21 files changed, 55 insertions, 0 deletions
diff --git a/data/pix/beef-goulash.webp b/data/pix/beef-goulash.webp
new file mode 100644
index 000000000..1f9b1ff0b
--- /dev/null
+++ b/data/pix/beef-goulash.webp
Binary files differ
diff --git a/data/pix/cacio-e-pepe.webp b/data/pix/cacio-e-pepe.webp
new file mode 100644
index 000000000..6921d9f52
--- /dev/null
+++ b/data/pix/cacio-e-pepe.webp
Binary files differ
diff --git a/data/pix/carbonara.webp b/data/pix/carbonara.webp
new file mode 100644
index 000000000..da6c54980
--- /dev/null
+++ b/data/pix/carbonara.webp
Binary files differ
diff --git a/data/pix/cheesy-meatballs.webp b/data/pix/cheesy-meatballs.webp
new file mode 100644
index 000000000..2bb0b4f39
--- /dev/null
+++ b/data/pix/cheesy-meatballs.webp
Binary files differ
diff --git a/data/pix/country-skillet.webp b/data/pix/country-skillet.webp
new file mode 100644
index 000000000..a0ad2c315
--- /dev/null
+++ b/data/pix/country-skillet.webp
Binary files differ
diff --git a/data/pix/creamy-mashed-potatoes.webp b/data/pix/creamy-mashed-potatoes.webp
new file mode 100644
index 000000000..d496bc3a7
--- /dev/null
+++ b/data/pix/creamy-mashed-potatoes.webp
Binary files differ
diff --git a/data/pix/croutons.webp b/data/pix/croutons.webp
new file mode 100644
index 000000000..e77932845
--- /dev/null
+++ b/data/pix/croutons.webp
Binary files differ
diff --git a/data/pix/csalad.webp b/data/pix/csalad.webp
new file mode 100644
index 000000000..bf37a2fe6
--- /dev/null
+++ b/data/pix/csalad.webp
Binary files 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
--- /dev/null
+++ b/data/pix/fried-anglerfish-fillet-00.webp
Binary files 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
--- /dev/null
+++ b/data/pix/fried-anglerfish-fillet-01.webp
Binary files differ
diff --git a/data/pix/guacamole.webp b/data/pix/guacamole.webp
new file mode 100644
index 000000000..690cd7c59
--- /dev/null
+++ b/data/pix/guacamole.webp
Binary files differ
diff --git a/data/pix/japanese-noodle-soup.webp b/data/pix/japanese-noodle-soup.webp
new file mode 100644
index 000000000..85ca3267f
--- /dev/null
+++ b/data/pix/japanese-noodle-soup.webp
Binary files differ
diff --git a/data/pix/merchants-buckwheat.webp b/data/pix/merchants-buckwheat.webp
new file mode 100644
index 000000000..d294c476a
--- /dev/null
+++ b/data/pix/merchants-buckwheat.webp
Binary files differ
diff --git a/data/pix/pan-seared-chicken.webp b/data/pix/pan-seared-chicken.webp
new file mode 100644
index 000000000..e030e100d
--- /dev/null
+++ b/data/pix/pan-seared-chicken.webp
Binary files differ
diff --git a/data/pix/parmesan-potatoes.webp b/data/pix/parmesan-potatoes.webp
new file mode 100644
index 000000000..42c81cd16
--- /dev/null
+++ b/data/pix/parmesan-potatoes.webp
Binary files differ
diff --git a/data/pix/pasta-navy-style.webp b/data/pix/pasta-navy-style.webp
new file mode 100644
index 000000000..2836d66f5
--- /dev/null
+++ b/data/pix/pasta-navy-style.webp
Binary files differ
diff --git a/data/pix/refried-beans.webp b/data/pix/refried-beans.webp
new file mode 100644
index 000000000..9f49af62c
--- /dev/null
+++ b/data/pix/refried-beans.webp
Binary files differ
diff --git a/data/pix/sunday-milkshake.webp b/data/pix/sunday-milkshake.webp
new file mode 100644
index 000000000..bdb90743e
--- /dev/null
+++ b/data/pix/sunday-milkshake.webp
Binary files differ
diff --git a/data/pix/sweet-potato-fries.webp b/data/pix/sweet-potato-fries.webp
new file mode 100644
index 000000000..62bec8ab7
--- /dev/null
+++ b/data/pix/sweet-potato-fries.webp
Binary files 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
--- /dev/null
+++ b/data/pix/tuscan-style-pork-roast.webp
Binary files 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 ;
+ }
+}