Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/general-title.html')
-rw-r--r--layouts/partials/general-title.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/general-title.html b/layouts/partials/general-title.html
index f21be7e..aac7af8 100644
--- a/layouts/partials/general-title.html
+++ b/layouts/partials/general-title.html
@@ -1,14 +1,14 @@
{{ $.Scratch.Set "generalTitle" .Title }}
{{ if eq ($.Scratch.Get "generalTitle") "Blogs" }}
- {{ $.Scratch.Set "generalTitle" "Blog" }}
+ {{ $.Scratch.Set "generalTitle" "Blog" }}
{{ end }}
{{ if and (.IsNode) (eq .Data.Plural "categories") }}
- {{ if ne .Data.Plural (lower .Title) }}
- {{ $.Scratch.Add "generalTitle" " Posts - " }}
- {{ else }}
- {{ $.Scratch.Add "generalTitle" " - " }}
- {{ end }}
-{{ else }}
+ {{ if ne .Data.Plural (lower .Title) }}
+ {{ $.Scratch.Add "generalTitle" " Posts - " }}
+ {{ else }}
{{ $.Scratch.Add "generalTitle" " - " }}
+ {{ end }}
+{{ else }}
+ {{ $.Scratch.Add "generalTitle" " - " }}
{{ end }}
{{ $.Scratch.Add "generalTitle" .Site.Title }}