diff --git a/layouts/list.html b/layouts/list.html index f976f84..d17e80d 100644 --- a/layouts/list.html +++ b/layouts/list.html @@ -4,12 +4,12 @@ {{ .Content }} -
- -{{ range .Pages.ByDate }} -

{{ .Title }}

- {{ .Content }} -
+{{ if .Pages }} + {{ end }} {{ end }} \ No newline at end of file diff --git a/layouts/single.html b/layouts/single.html index af7de24..fcc28b7 100644 --- a/layouts/single.html +++ b/layouts/single.html @@ -1,7 +1,6 @@ {{ define "title" }}SWP - {{ .Page.Title }}{{ end }} {{ define "main" }} -

{{ .Title }}

{{ .Content }}