diff --git a/themes/chosto/layouts/_default/list.html b/themes/chosto/layouts/_default/list.html index c14fca1..2bd31b2 100644 --- a/themes/chosto/layouts/_default/list.html +++ b/themes/chosto/layouts/_default/list.html @@ -1,15 +1,15 @@ {{ define "main" }}
-
- - {{ .Content }} -
- - {{- partial "pagination.html" . -}} + {{ with .Content }} +
+ {{ . }} +
+ {{ end }} + {{ range .Paginator.Pages }} +
+ {{ .Render "summary" }} +
+ {{ end }} + {{- partial "pagination.html" . -}}
{{ end }} diff --git a/themes/chosto/layouts/index.html b/themes/chosto/layouts/index.html deleted file mode 100644 index 669aa29..0000000 --- a/themes/chosto/layouts/index.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ define "main" }} -
- {{ with .Content }} -
- {{ . }} -
- {{ end }} - {{ range .Paginator.Pages }} - {{ .Render "summary" }} - {{ end }} - {{- partial "pagination.html" . -}} -
-{{ end }} diff --git a/themes/chosto/layouts/partials/header.html b/themes/chosto/layouts/partials/header.html index c14f416..b9db5df 100644 --- a/themes/chosto/layouts/partials/header.html +++ b/themes/chosto/layouts/partials/header.html @@ -12,6 +12,7 @@ {{ end }} {{ end }} + {{ if .IsPage }} + {{ end }}