diff options
Diffstat (limited to 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..f9f48e1 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,17 @@ +{{- define "main" }} +<main> + {{- if .Pages }} + <ul> + {{ range .Pages }} + <li> + {{- if .LinkTitle }} + <p><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>.</p> + {{- end }} + {{ .Summary }} + </li> + {{ end }} + </ul> + {{- end }} + {{- .Content }} +</main> +{{- end }} |
