summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default
diff options
context:
space:
mode:
authorbreadcat2024-01-15 20:16:30 +0000
committerbreadcat2024-01-15 20:16:30 +0000
commit75712d9562e1d759e2d6feb3ed1a2e003f333bfc (patch)
tree833fdb075d4c9c27b3b62d9f11271c7b732d4d93 /themes/Brine/layouts/_default
parentd894ccdb7b4b580d18ea8c38a1735191ea67339c (diff)
downloadblog.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')
-rw-r--r--themes/Brine/layouts/_default/baseof.html2
-rw-r--r--themes/Brine/layouts/_default/recipes.html24
2 files changed, 7 insertions, 19 deletions
diff --git a/themes/Brine/layouts/_default/baseof.html b/themes/Brine/layouts/_default/baseof.html
index 7051f0f..7079a50 100644
--- a/themes/Brine/layouts/_default/baseof.html
+++ b/themes/Brine/layouts/_default/baseof.html
@@ -22,7 +22,7 @@
pre>code{display:block;padding:20px;white-space:pre-wrap;font-size:75%;max-width:80ch}
a,h1,li,p{max-width:70ch}
blockquote{color:#333;border-left:7px solid #fc9;padding:0 14px;margin:0}
- summary>span{color:#999}
+ h2>span,summary>span{color:#999}
td,th{text-align:left;padding-right:10px}
p.pagination>a{padding:5px}
@media(min-width:1100px){
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 }}