summaryrefslogtreecommitdiffstats
path: root/themes/Brine
diff options
context:
space:
mode:
authorbreadcat2020-06-27 23:59:41 +0100
committerbreadcat2020-06-27 23:59:41 +0100
commitb16808e10675d9f73dd3d2cdc6000f3b60800f89 (patch)
tree67afa5138f4e4800e17160e8c23770b451368bd0 /themes/Brine
parente6a46071eb35595aadd4d6a0f5f0c33fa23fc5fa (diff)
downloadblog.minskio.co.uk-b16808e10675d9f73dd3d2cdc6000f3b60800f89.tar.gz
blog.minskio.co.uk-b16808e10675d9f73dd3d2cdc6000f3b60800f89.tar.bz2
blog.minskio.co.uk-b16808e10675d9f73dd3d2cdc6000f3b60800f89.zip
Add recipes
Big thanks to https://github.com/damien1 for his help here
Diffstat (limited to 'themes/Brine')
-rw-r--r--themes/Brine/layouts/_default/recipes.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/Brine/layouts/_default/recipes.html b/themes/Brine/layouts/_default/recipes.html
new file mode 100644
index 0000000..1b43af4
--- /dev/null
+++ b/themes/Brine/layouts/_default/recipes.html
@@ -0,0 +1,22 @@
+{{ define "main" }} <h1>{{ .Title }}</h1>
+ {{ .Content }}
+ <h3>Meals</h3>
+ <ul>{{ range .Site.Taxonomies.recipe.meal}}
+ <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
+ </ul>
+ <h3>Snacks</h3>
+ <ul>{{ range .Site.Taxonomies.recipe.snack}}
+ <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
+ </ul>
+ <h3>Breads</h3>
+ <ul>{{ range .Site.Taxonomies.recipe.bread}}
+ <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
+ </ul>
+ <h3>Desserts</h3>
+ <ul>{{ range .Site.Taxonomies.recipe.dessert}}
+ <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
+ </ul>{{ end }}
+
+
+
+