From 1f8b5c2bbe20c4c6b7b334b00ae5e6622dcd51f7 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 11 Jan 2023 20:02:10 +0100 Subject: Switch to simple.css This makes it easier to maintain and it looks better. --- data/templates/index.html | 25 ++++++++++++++++--------- data/templates/recipe.html | 25 ++++++++++++++++++------- 2 files changed, 34 insertions(+), 16 deletions(-) (limited to 'data/templates') diff --git a/data/templates/index.html b/data/templates/index.html index f216ed4..9115d31 100644 --- a/data/templates/index.html +++ b/data/templates/index.html @@ -8,22 +8,29 @@ - + -
+
+

Recipes

- +
+ +

Here are the available recipes 😋🍳🍔🍕🥘

- {{range .}} - -
-
{{.Title}}
-
-
{{end}} + + +
diff --git a/data/templates/recipe.html b/data/templates/recipe.html index fcfdf67..536cac9 100644 --- a/data/templates/recipe.html +++ b/data/templates/recipe.html @@ -8,24 +8,35 @@ - + -
+
{{if ne .UpstreamUrl ""}} + + {{end}}

{{.Title}}

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

Link to recipe

{{end}} +
+ +
+ Recipe image

Recipe description

- - - + + +
{{.RenderedDescriptionMarkdown}}
+ +