diff options
Diffstat (limited to 'themes/Brine/layouts/_default')
-rw-r--r-- | themes/Brine/layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | themes/Brine/layouts/_default/recipes.html | 24 |
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 }} |