summaryrefslogtreecommitdiff
path: root/layouts/recipes/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/recipes/list.html')
-rw-r--r--layouts/recipes/list.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/recipes/list.html b/layouts/recipes/list.html
new file mode 100644
index 0000000..0565d93
--- /dev/null
+++ b/layouts/recipes/list.html
@@ -0,0 +1,17 @@
+{{- define "main" }}
+<h1>{{ .Title }}</h1>
+{{ .Content }}
+<ul>
+ {{- range .Paginator.Pages }}
+ <li>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <small>
+ {{ .Summary }}
+ {{- range .Params.tags }}
+ <a href="/tags/{{ . | lower }}">#{{ . }}</a>
+ {{- end }}
+ </small>
+ </li>
+ {{- end }}
+</ul>
+{{- end }}