summaryrefslogtreecommitdiff
path: root/layouts/recipes/list.html
blob: 1a6bdf9516e27297f0aa3c4a16a6039941f04e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{- define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
<ul>
	{{- range sort .Paginator.Pages "Title" }}
	<li>
		<a href="{{ .Permalink }}">{{ .Title }}</a>
			<small>
				{{ .Summary | plainify }}
				{{- range .Params.tags }}
				<a href="/tags/{{ . | lower }}">#{{ . }}</a>
				{{- end }}
			</small>
	</li>
	{{- end }}
</ul>
{{- end }}