-
- {{ $paginator := .Paginate (where .Site.RegularPages "FirstSection.Section" "posts") }}
- {{ range $paginator.Pages }}
- {{ if (eq .FirstSection.Section "posts")}}
-
{{ end }}
diff --git a/themes/chosto/layouts/_default/single.html b/themes/chosto/layouts/_default/single.html
index d7ee8e2..38b3c2f 100644
--- a/themes/chosto/layouts/_default/single.html
+++ b/themes/chosto/layouts/_default/single.html
@@ -1,60 +1,62 @@
{{ define "main" }}
-
- {{ .Render "summary" }}
-
+
+
+
+ {{ with .Content }}
+
{{ end }}
- {{ end }}
-
- {{- partial "pagination.html" $paginator -}}
-
+
+
+ {{ $paginator := .Paginate (where .Site.RegularPages "FirstSection.Section" "posts") }}
+ {{ range $paginator.Pages }}
+ {{ if (eq .FirstSection.Section "posts")}}
+
+ {{- partial "pagination.html" $paginator -}}
+
+
+ {{ .Render "summary" }}
+
+ {{ end }}
+ {{ end }}
+
-
-
- {{ if (and .IsPage (eq .FirstSection.Section "posts"))}}
- {{ with .CurrentSection }}
-
- {{ end }}
- {{ end }}
-
-
-
- {{ with .Params.summary }}
- {{ . }}
-
- {{ end }} - {{ if (or (not .Params.notoc) (gt .WordCount 400)) }} - -
{{ end }}
diff --git a/themes/chosto/layouts/_default/summary.html b/themes/chosto/layouts/_default/summary.html
index 4e8b261..817af16 100644
--- a/themes/chosto/layouts/_default/summary.html
+++ b/themes/chosto/layouts/_default/summary.html
@@ -1,7 +1,7 @@
- {{ end }} - {{ if (or (not .Params.notoc) (gt .WordCount 400)) }} - -
-