feat: Avancement du jour
This commit is contained in:
@ -1,7 +1,22 @@
|
||||
<header class="box header">
|
||||
{{ $tag := cond .IsHome "h1" "div" }}
|
||||
{{ printf "<%s class=\"title\">" $tag | safeHTML }}
|
||||
Takubeh<br>
|
||||
<small>Kombucha</small>
|
||||
{{ printf "</%s>" $tag | safeHTML }}
|
||||
<a href="/">
|
||||
{{ $tag := cond .IsHome "h1" "div" }}
|
||||
{{ printf "<%s class=\"title\">" $tag | safeHTML }}
|
||||
Takubeh<br>
|
||||
<small>Kombucha</small>
|
||||
{{ printf "</%s>" $tag | safeHTML }}
|
||||
</a>
|
||||
{{ with site.Menus.main }}
|
||||
<nav class="box container menu ">
|
||||
{{- range . -}}
|
||||
<a class="color -blue3{{ if $.IsMenuCurrent .Menu . }} active{{ end }}" href="{{ .URL }}">
|
||||
{{ if $.IsMenuCurrent .Menu . }}
|
||||
<h1>{{ .Name }}</h1>
|
||||
{{ else }}
|
||||
{{ .Name }}
|
||||
{{ end }}
|
||||
</a>
|
||||
{{- end -}}
|
||||
</nav>
|
||||
{{ end }}
|
||||
</header>
|
||||
|
7
layouts/partials/menu.html
Normal file
7
layouts/partials/menu.html
Normal file
@ -0,0 +1,7 @@
|
||||
{{ with site.Menus.main }}
|
||||
<nav class="box container menu color -blue3">
|
||||
{{- range . -}}
|
||||
<a{{ if $.IsMenuCurrent .Menu . }} class="active" aria-current="page"{{ end }} href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{- end -}}
|
||||
</nav>
|
||||
{{ end }}
|
@ -1,10 +1,11 @@
|
||||
<footer class="box footer color -red3">
|
||||
<div class="content">
|
||||
<p>
|
||||
E-mail : <a href="mailto:murielle@takubeh.fr">murielle@takubeh.fr</a><br>
|
||||
Site web : <a href="https://takubeh.fr/">takubeh.fr</a><br>
|
||||
Instagram : <a href="https://www.instagram.com/takubehkombucha/">www.instagram.com/takubehkombucha/</a><br>
|
||||
Facebook : <a href="https://www.facebook.com/profile.php?id=100076292530719">Takubeh Kombucha</a><br>
|
||||
</p>
|
||||
<div class="container">
|
||||
<p>Lieu dit Le Clapeau, 42100 Rochetaillée</p>
|
||||
<p>{{ now.Format "2006" }} © Takubeh - <a href="/mentions-legales/">Mentions légales</a></p>
|
||||
<div>
|
||||
<a href="mailto:murielle@takubeh.fr" title="E-mail"><img src="/images/tabler/mail-heart.svg"><span> E-mail</span></a>
|
||||
<a href="https://www.instagram.com/takubehkombucha/" title="Instagram"><img src="/images/tabler/brand-instagram.svg"><span> Instagram</span></a>
|
||||
<a href="https://www.facebook.com/profile.php?id=100076292530719" title="Facebook"><img src="/images/tabler/brand-facebook.svg"><span> Facebook</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
Reference in New Issue
Block a user