diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 18 |
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> |