summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/recipes.html
blob: 93164fd701140d0829767213688e443b0b504821 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ define "main" }}	<h1>{{ .Title }}</h1>
	{{ .Content }}
	<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>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>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 }}