diff --git a/layouts/authors/taxonomy.html b/layouts/authors/taxonomy.html index 79ddbc6..93c9c11 100644 --- a/layouts/authors/taxonomy.html +++ b/layouts/authors/taxonomy.html @@ -1,24 +1,30 @@ {{ define "main" }} -

- {{ partial "icon.html" "user-circle" }} - {{ .Title | markdownify }} -

+
+ {{ if .Content }}
{{ end }} - {{ with .Content }} - {{ . }} - {{ end }} +

+ {{ partial "icon.html" "user-circle" }} + {{ .Title | markdownify }} +

-
- {{ with .Paginator.Pages }} - {{ range . }} -
- {{ .Render "summary" }} -
- {{ end }} - {{ else }} -
- {{ i18n "no_posts" }} -
+ {{ with .Content }} + {{ . }} {{ end }} -
+ + {{ if .Content }}
{{ end }} + +
+ {{ with .Paginator.Pages }} + {{ range . }} +
+ {{ .Render "summary" }} +
+ {{ end }} + {{ else }} +
+ {{ i18n "no_posts" }} +
+ {{ end }} +
+
{{ end }} diff --git a/layouts/home.html b/layouts/home.html index aa7e0bc..22be103 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -7,7 +7,7 @@ {{ if .Site.Params.homepageLatestPosts }}
-
+

{{ i18n "latest_posts" }} {{ partial "rss-link.html" . }} @@ -16,6 +16,6 @@ {{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }} {{ partial "pagination.html" . }} -

+ {{ end }} {{ end }} diff --git a/layouts/section.html b/layouts/section.html index 01ea9c8..e731da0 100644 --- a/layouts/section.html +++ b/layouts/section.html @@ -1,25 +1,27 @@ {{ define "main" }} -

- {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} - {{ .Title | markdownify }} - {{ partial "rss-link.html" . }} -

+
+

+ {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} + {{ .Title | markdownify }} + {{ partial "rss-link.html" . }} +

- {{ with .Content }} - {{ . }} - {{ end }} - -
- {{ with .Sections }} -
- {{ range . }} - {{ .Render "summary" }} - {{ end }} -
+ {{ with .Content }} + {{ . }} {{ end }} - {{ partial "page-list.html" .Paginator.Pages }} -
+
+ {{ with .Sections }} +
+ {{ range . }} + {{ .Render "summary" }} + {{ end }} +
+ {{ end }} - {{ partial "pagination.html" . }} + {{ partial "page-list.html" .Paginator.Pages }} +
+ + {{ partial "pagination.html" . }} +
{{ end }}