diff options
author | breadcat | 2024-01-15 20:16:30 +0000 |
---|---|---|
committer | breadcat | 2024-01-15 20:16:30 +0000 |
commit | 75712d9562e1d759e2d6feb3ed1a2e003f333bfc (patch) | |
tree | 833fdb075d4c9c27b3b62d9f11271c7b732d4d93 /themes/Brine/layouts/_default/recipes.html | |
parent | d894ccdb7b4b580d18ea8c38a1735191ea67339c (diff) | |
download | blog.minskio.co.uk-75712d9562e1d759e2d6feb3ed1a2e003f333bfc.tar.gz blog.minskio.co.uk-75712d9562e1d759e2d6feb3ed1a2e003f333bfc.tar.bz2 blog.minskio.co.uk-75712d9562e1d759e2d6feb3ed1a2e003f333bfc.zip |
Amend recipe classifications
Diffstat (limited to 'themes/Brine/layouts/_default/recipes.html')
-rw-r--r-- | themes/Brine/layouts/_default/recipes.html | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/themes/Brine/layouts/_default/recipes.html b/themes/Brine/layouts/_default/recipes.html index 651a7c6..93164fd 100644 --- a/themes/Brine/layouts/_default/recipes.html +++ b/themes/Brine/layouts/_default/recipes.html @@ -1,26 +1,14 @@ {{ define "main" }} <h1>{{ .Title }}</h1> {{ .Content }} - <h2>Meals</h2> - <ul>{{ range sort .Site.Taxonomies.recipe.meal ".Page.RelPermalink" }} + <h2>Savoury <span>({{ .Site.Taxonomies.recipe.savoury | len}})</span></h2> + <ul>{{ range sort .Site.Taxonomies.recipe.savoury ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> - <h2>Snacks</h2> - <ul>{{ range sort .Site.Taxonomies.recipe.snack ".Page.RelPermalink" }} + <h2>Sweet <span>({{ .Site.Taxonomies.recipe.sweet | len}})</span></h2> + <ul>{{ range sort .Site.Taxonomies.recipe.sweet ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> - <h2>Breads</h2> - <ul>{{ range sort .Site.Taxonomies.recipe.bread ".Page.RelPermalink" }} - <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} - </ul> - <h2>Desserts</h2> - <ul>{{ range sort .Site.Taxonomies.recipe.dessert ".Page.RelPermalink" }} - <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} - </ul> - <h2>Drinks</h2> - <ul>{{ range sort .Site.Taxonomies.recipe.drink ".Page.RelPermalink" }} - <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} - </ul> - <h2>Guides</h2> - <ul>{{ range sort .Site.Taxonomies.recipe.guide ".Page.RelPermalink" }} + <h2>Ketogenic <span>({{ .Site.Taxonomies.recipe.keto | len}})</span></h2> + <ul>{{ range sort .Site.Taxonomies.recipe.keto ".Page.RelPermalink" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul>{{ end }} |