From 802b2f13123cccaa02409d2421b55f1e0985b9fb Mon Sep 17 00:00:00 2001 From: panr Date: Tue, 29 Jan 2019 11:18:14 +0100 Subject: [PATCH] Fix typos --- layouts/_default/baseof.html | 2 +- layouts/_default/list.html | 6 +++--- layouts/_default/single.html | 2 +- layouts/partials/footer.html | 4 ++-- layouts/partials/head.html | 10 +++++----- layouts/partials/header.html | 2 +- layouts/partials/menu.html | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) 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 }}