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

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Rocha <humrochagf@gmail.com>2019-08-05 18:46:24 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-08-05 18:46:24 +0300
commit96c283e6eec6173fde6fd4736b4958f39323886a (patch)
treeef0370f76e7a66b4249e42165453ab82a1d84a1d /layouts
parent7ad3045961faf4a328a0e73a95999d10df5ed92d (diff)
Fix titles
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/taxonomy.html2
-rw-r--r--layouts/_default/terms.html4
-rw-r--r--layouts/partials/blog-jsonld.html2
4 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 6a289f9..4543298 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -7,7 +7,7 @@
{{ end }}
<!-- Page title -->
- <title>{{ .Title | humanize | title }} - {{ .Site.Title }}</title>
+ <title>{{ .Title }} - {{ .Site.Title }}</title>
<!-- styles -->
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "style.main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 6927292..e5a8b56 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -5,7 +5,7 @@
{{ end }}
{{ define "main" }}
- <h1 class="text-center">Tag: {{ .Title | humanize | title }}</h1>
+ <h1 class="text-center">TAG: {{ .Title | upper }}</h1>
{{ range .Paginator.Pages }}
<article>
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index 4cb7af1..29a52a7 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -1,9 +1,9 @@
{{ define "main" }}
- <h1 class="text-center">{{ .Title }}</h1>
+ <h1 class="text-center">{{ .Title | upper }}</h1>
<div class="tag-group">
{{ range $index, $item := .Pages }}
- <a href="{{ $item.Permalink }}">{{ $item.Title | humanize | title }}</a>
+ <a href="{{ $item.Permalink }}">{{ $item.Title }}</a>
{{ end }}
</div>
{{ end }}
diff --git a/layouts/partials/blog-jsonld.html b/layouts/partials/blog-jsonld.html
index 85d6898..19b1073 100644
--- a/layouts/partials/blog-jsonld.html
+++ b/layouts/partials/blog-jsonld.html
@@ -2,7 +2,7 @@
"@context": "http://schema.org",
"@type": "Blog",
"url": "{{ .Permalink }}",
- "headline": "{{ .Title | humanize | title }} - {{ .Site.Title }}",
+ "headline": "{{ .Title }} - {{ .Site.Title }}",
"description": "{{ .Site.Params.description }}",
"author": {
"@type": "Person",