feat: Avancement du jour

This commit is contained in:
2024-02-28 23:07:49 +01:00
parent b52179fd51
commit c190684600
22 changed files with 293 additions and 78 deletions

View File

@ -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>