blob: e80a73a928843a6f97e2dcf62a168369c90ef13f (
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
25
26
27
28
|
{{ define "head" }}
<link rel="author" class="p-author h-card" href="{{ .Site.BaseURL }}">tyil</link>
{{ end }}
{{- 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 }}
|