diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 975132d..624f2eb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,14 +1,14 @@ {{ define "main" }} - {{if not .IsHome }} -

{{ .Title | markdownify | lower }}

- {{ end }} - {{ .Content }} -
+ {{if not .IsHome }} +

{{ .Title | markdownify | lower }}

+ {{ end }} + {{ .Content }} +
{{ $pages := .Pages }} {{ if .IsHome }}{{ $pages = where .Site.RegularPages "Type" "not in" (default "[]" .Site.Params.excludedSections) }}{{ end }} {{ range (where $pages "Section" "ne" "") }} - {{ partial "article-card.html" . }} + {{ partial "article-card.html" . }} {{ end }} -
+
{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 07ae27a..e0dd001 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,25 +1,27 @@ {{ define "main" }} +
+ {{ partial "article-meta.html" . }} - {{ partial "article-meta.html" . }} + {{ if .Params.toc }} + {{ .TableOfContents }} + {{ end }} - {{ if .Params.toc }} - {{ .TableOfContents }} - {{ end }} - -
-
{{ .Content }} +

- {{ with .NextInSection }} + + {{ with .NextInSection }} Next: {{ .Title | markdownify }}
- {{ end }} - {{ with .PrevInSection }} + {{ end }} + + {{ with .PrevInSection }} Previous: {{ .Title | markdownify }}
- {{ end }} + {{ end }} + >> Home -

-
-
+

+ +
{{ end }}