diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4081a9a..a6a6470 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + {{ block "title" . }} {{ if .IsHome }}{{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9b41c04..d78107d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,7 +1,7 @@ {{ define "main" }}
- {{ $isntDefault := not (or (eq (trim .Site.Params.contentTypeName " ") "posts") (eq (trim .Site.Params.contentTypeName " ") "")) }} - {{ $contentTypeName := cond $isntDefault (string .Site.Params.contentTypeName) "posts" }} + {{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "posts") (eq (trim $.Site.Params.contentTypeName " ") "")) }} + {{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }} {{ $paginator := .Paginate (where .Data.Pages "Type" $contentTypeName) }} {{ range $paginator.Pages }} @@ -35,7 +35,7 @@ {{ end }} {{ end }}
-
{{ .Site.Params.ReadMore }} →
+
{{ $.Site.Params.ReadMore }} →
{{ end }} {{ partial "pagination.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 371895a..2d69a06 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -26,7 +26,7 @@ {{ if or .NextInSection .PrevInSection }}