fix: Le tag du titre ne soit pas être toujours le H1 de la page
This commit is contained in:
parent
cee2e84194
commit
b52179fd51
|
@ -1,3 +1,7 @@
|
||||||
<header class="header">
|
<header class="box header">
|
||||||
<h1>Takubeh<br><small>Kombucha</small></h1>
|
{{ $tag := cond .IsHome "h1" "div" }}
|
||||||
|
{{ printf "<%s class=\"title\">" $tag | safeHTML }}
|
||||||
|
Takubeh<br>
|
||||||
|
<small>Kombucha</small>
|
||||||
|
{{ printf "</%s>" $tag | safeHTML }}
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in New Issue