summaryrefslogtreecommitdiff
path: root/src/template.md
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 /src/template.md
parentfeb5d6ca8e96c579751788b676b14e72d51f84df (diff)
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 'src/template.md')
-rw-r--r--src/template.md49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/template.md b/src/template.md
deleted file mode 100644
index eca38fd..0000000
--- a/src/template.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# Recipe name
-
-This is a brief, one or two sentence description of the dish.
-
-Optionally include a picture of the dish here, stored in `pix/` with the same base name as this file.
-Please take your own picture after having followed exactly this recipe.
-
-## Ingredients
-
-- Just do
-- a very simple
-- markdown list for this
-- with amounts.
-
-## Directions
-
-1. Now include the directions.
-2. I suppose this list should be numbered
-3. just for convenience's sake.
-4. If necessary, include directional images between these items.
-
-![like this](lol.webp)
-
-5. Looks good.
-6. Obvious,
-
-## Contributors
-
-<!--
-Put your name or identifier here if you want.
-Limit yourself to a single line with links like this:
--->
-
-- **Luke Smith** -- [website](https://lukesmith.xyz), [donate](https://lukesmith.xyz/donate)
-- Billy Smith -- [website](https://lukesmith.xyz) (improved kneading technique added)
-
-<!--
-If someone add a *substantial* improvement, they can add their name to the
-bottom of the list (at least for the time being). In that case, the original
-author's line should still be at the top and bold.
--->
-
-<!--
-Other Rules:
-
-- Images should be as small as possible in size, preferably .webp files.
-- Minor edits (spell checkings) do not warrant credit at the bottom.
-- Everything you add here should be public domain. Getting credit at the bottom for adding the article is not a claim to ownership.
--->