diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-04-18 11:22:33 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-04-18 20:49:18 +0200 |
commit | a190487ef793aeeb0937322cf98383b7505b5ceb (patch) | |
tree | ed570406d9b352324c5d8b3a7ed60c84183ada2f /layouts/recipes/list.html | |
parent | 04c13d8007efe2597cad3fe24436368bed73bf1f (diff) |
Add a cookbook section
Diffstat (limited to 'layouts/recipes/list.html')
-rw-r--r-- | layouts/recipes/list.html | 17 |
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 }} |