diff options
Diffstat (limited to 'layouts/list.html')
| -rw-r--r-- | layouts/list.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/list.html b/layouts/list.html new file mode 100644 index 0000000..40a2671 --- /dev/null +++ b/layouts/list.html @@ -0,0 +1,12 @@ + +{{ define "main" }} + {{ if isset .Params "title" }} + <h1>{{ .Title }}</h1> + {{ else }} + <h1>{{ .Section | title }}</h1> + {{ end }} + <hr> + {{ .Content }} + {{ partial "list-pages.html" . }} +{{ end }} + |