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-12 18:15:17 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-08-12 18:15:17 +0300
commit7dd896a37239b7a48bb042eeb18d30457aabb1d9 (patch)
treedae2bd7cdc66c8e1d686cb607bf7243510cee30f /layouts/partials
parentfe68fbf42431065c0e5882bc260f357f98ed0428 (diff)
Improve titles
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 2e7fd55..8ff1626 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -9,11 +9,19 @@
</a>
</div>
- <div class="header-title">
- <a href="{{ "/" | absLangURL }}">
- {{ .Site.Title }}
- </a>
- </div>
+ {{ if .IsHome }}
+ <h1 class="header-title">
+ <a href="{{ "/" | absLangURL }}">
+ {{ .Site.Title }}
+ </a>
+ </h1>
+ {{ else }}
+ <div class="header-title">
+ <a href="{{ "/" | absLangURL }}">
+ {{ .Site.Title }}
+ </a>
+ </div>
+ {{ end }}
</div>
</div>
</header>