diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 7811b8e..bd21a27 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -2,7 +2,7 @@
{{- range $key, $value:= .Data.Terms -}} - {{ $key }} ({{ $value.Count }}) + {{ $key }} ({{ $value.Count }}) {{- end -}}
diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 53ab6a2..6a7f5b3 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -47,7 +47,7 @@

Tag{{ if gt $len 1 }}s{{ end }}: {{ range $index, $tag := .Params.tags }} - {{ . }}{{ if ne (add $index 1) $len }},{{ end }} + {{ . }}{{ if ne (add $index 1) $len }},{{ end }} {{ end }}

{{ end }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 58b5e3e..9f8c722 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -37,7 +37,7 @@ {{ else }} {{ if not $isHome }} - {{ i18n "nav_main" . }} + {{ i18n "nav_main" . }} {{ end }} {{ with .Site.GetPage "/home" }} @@ -56,7 +56,7 @@ {{ if eq (os.Stat .File.Dir).Name "projects" }} {{ if $isHome }} - {{ .Title }} + {{ .Title }} {{ else }} {{ $pageIsInProjects := eq $.Page.Section "project"}} {{ if not (and $pageIsInProjects (eq $.Page.Kind "section")) }} @@ -72,7 +72,7 @@ {{ else if eq (os.Stat .File.Dir).Name "blog" }} {{ if $isHome }} - {{ .Title }} + {{ .Title }} {{ else }} {{ $pageIsInBlog := eq $.Page.Section "blog"}} {{ if not (and $pageIsInBlog (eq $.Page.Kind "section")) }} @@ -86,7 +86,7 @@ {{ end }} {{ end }} {{ else }} - {{ .Title }} + {{ .Title }} {{ end }} {{ end }} {{ end }} @@ -94,7 +94,7 @@ {{ with .Site.GetPage "/home" }} {{ with .Resources.GetMatch "contact.md" }} - {{ .Title }} + {{ .Title }} {{ end }} {{ end }}