diff options
author | Humberto Rocha <humrochagf@gmail.com> | 2019-08-12 18:15:17 +0300 |
---|---|---|
committer | Humberto Rocha <humrochagf@gmail.com> | 2019-08-12 18:15:17 +0300 |
commit | 7dd896a37239b7a48bb042eeb18d30457aabb1d9 (patch) | |
tree | dae2bd7cdc66c8e1d686cb607bf7243510cee30f /layouts/partials | |
parent | fe68fbf42431065c0e5882bc260f357f98ed0428 (diff) |
Improve titles
Diffstat (limited to 'layouts/partials')
-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> |