blob: b758a2b7ecd9c9c10991af918431dafdf1eb54d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{{- define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{- range sort .Pages "Title" }}
<section class="recipe">
<div class="preview">
{{- with .Params.preview }}
<img src="{{ .src }}" />
{{- end }}
</div>
<div class="description">
<h2>
<a class="p-name" href="{{ .Permalink }}">{{ .Title }}</a>
</h2>
<ul class="taglist">
{{- range sort .Params.tags }}
<li><a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a></li>
{{- end }}
</ul>
{{ .Content }}
</div>
</section>
{{- end }}
{{- end }}
|