readd h1 but hidden for SEO purposes

lektura
max.mehl 2017-06-20 20:57:00 +02:00
parent dad3e26d08
commit 35d083f221
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
<div class="header-content"> <div class="header-content">
<div class="header-content-inner"> <div class="header-content-inner">
<img src="../img/logo.png" alt="Logo" /> <img src="../img/logo.png" alt="Logo" />
{{ with .Site.Params.start.slogan }}
<h1 style="display:none;">{{ . | markdownify }}</h1>
{{ end }}
{{ if and .Site.Params.start.slogan .Site.Params.start.subtitle }} {{ if and .Site.Params.start.slogan .Site.Params.start.subtitle }}
<hr> <hr>