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
BIN
data/pix/beef-goulash.webp
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
data/pix/cacio-e-pepe.webp
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
data/pix/carbonara.webp
Normal file
|
After Width: | Height: | Size: 259 KiB |
BIN
data/pix/cheesy-meatballs.webp
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
data/pix/country-skillet.webp
Normal file
|
After Width: | Height: | Size: 118 KiB |
BIN
data/pix/creamy-mashed-potatoes.webp
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
data/pix/croutons.webp
Normal file
|
After Width: | Height: | Size: 91 KiB |
BIN
data/pix/csalad.webp
Normal file
|
After Width: | Height: | Size: 133 KiB |
BIN
data/pix/fried-anglerfish-fillet-00.webp
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
data/pix/fried-anglerfish-fillet-01.webp
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
data/pix/guacamole.webp
Normal file
|
After Width: | Height: | Size: 142 KiB |
BIN
data/pix/japanese-noodle-soup.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
data/pix/merchants-buckwheat.webp
Normal file
|
After Width: | Height: | Size: 132 KiB |
BIN
data/pix/pan-seared-chicken.webp
Normal file
|
After Width: | Height: | Size: 127 KiB |
BIN
data/pix/parmesan-potatoes.webp
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
data/pix/pasta-navy-style.webp
Normal file
|
After Width: | Height: | Size: 219 KiB |
BIN
data/pix/refried-beans.webp
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
data/pix/sunday-milkshake.webp
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
data/pix/sweet-potato-fries.webp
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
data/pix/tuscan-style-pork-roast.webp
Normal file
|
After Width: | Height: | Size: 204 KiB |
55
data/style.css
Normal file
@@ -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 ;
|
||||
}
|
||||
}
|
||||