From 1d6b45bebea66391a2a535a3bb328a5732aaa75d Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 5 Nov 2022 21:25:31 +0100 Subject: Add existing work --- data/templates/index.html | 31 ++++++++++++++++++++++ data/templates/recipe.html | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 data/templates/index.html create mode 100644 data/templates/recipe.html (limited to 'data/templates') diff --git a/data/templates/index.html b/data/templates/index.html new file mode 100644 index 0000000..f216ed4 --- /dev/null +++ b/data/templates/index.html @@ -0,0 +1,31 @@ + + + + + + + Recipes + + + + + + + + + +
+

Recipes

+ +

Here are the available recipes 😋🍳🍔🍕🥘

+ {{range .}} + +
+
{{.Title}}
+
+
{{end}} +
+ + + + diff --git a/data/templates/recipe.html b/data/templates/recipe.html new file mode 100644 index 0000000..fcfdf67 --- /dev/null +++ b/data/templates/recipe.html @@ -0,0 +1,64 @@ + + + + + + + Recipes + + + + + + + + + +
+

{{.Title}}

+ Recipe image{{if ne .UpstreamUrl ""}} +

Link to recipe

{{end}} +

Recipe description

+ + + + +
+ {{.RenderedDescriptionMarkdown}} +
+
+ + + + + + -- cgit v1.2.3-70-g09d2