summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/recipes.html
blob: 651a7c6df6a499aa9eb2c481419abcafbe6703ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{ define "main" }}	<h1>{{ .Title }}</h1>
	{{ .Content }}
	<h2>Meals</h2>
	<ul>{{ range sort .Site.Taxonomies.recipe.meal ".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" }}
		<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" }}
		<li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }}
	</ul>{{ end }}