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:
Diffstat (limited to 'layouts/partials/header.html')
-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>