diff --git a/themes/chosto/layouts/_default/list.html b/themes/chosto/layouts/_default/list.html index a114bbe..0d70fb7 100644 --- a/themes/chosto/layouts/_default/list.html +++ b/themes/chosto/layouts/_default/list.html @@ -1,25 +1,27 @@ {{ define "main" }} -
-
- {{ with .Content }} -
-
- {{ . }} -
-
- {{ end }} -
- - {{ $paginator := .Paginate (where .Site.RegularPages "FirstSection.Section" "posts") }} - {{ range $paginator.Pages }} - {{ if (eq .FirstSection.Section "posts")}} -
- {{ .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")}} +
+ {{ .Render "summary" }} +
+ {{ end }} + {{ end }} +
+ {{- partial "pagination.html" $paginator -}} + +
{{ 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" }} -
-
- - {{ if (and .IsPage (eq .FirstSection.Section "posts"))}} - {{ with .CurrentSection }} - - {{ end }} - {{ end }} -
-
-
- {{ with .Params.summary }} - {{ . }} -

- {{ end }} - {{ if (or (not .Params.notoc) (gt .WordCount 400)) }} -
-
Sommaire
- -
{{ .TableOfContents | replaceRE " -
- {{ end }} - {{ .Content }} -
-
-
+ {{ end }} + {{ end }} +
+
+
+ {{ with .Params.summary }} + {{ . }} +

+ {{ end }} + {{ if (or (not .Params.notoc) (gt .WordCount 400)) }} +
+
Sommaire
+ +
{{ .TableOfContents | replaceRE " +
+ {{ end }} + {{ .Content }} +
+
+ +
+
{{ 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 @@
-
- Placeholder image +
+ Placeholder image