feat: Avancement du jour
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>Takubeh - Kombucha</title>
|
||||
<title>{{ .Title }}</title>
|
||||
<meta name="description" content="{{ .Description }}" />
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
{{ with .OutputFormats.Get "RSS" }}<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" />{{ end }}
|
||||
@ -14,7 +15,7 @@
|
||||
{{ if ne hugo.Environment "production" }}<meta name="robots" content="noindex">{{ end }}
|
||||
{{ partial "styles.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<body{{ if .IsHome }} class="home"{{ end }}>
|
||||
{{ partial "en_tete.html" . }}
|
||||
|
||||
{{ block "main" . }}{{ end }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<div style="max-width: 800px; margin: 0 auto">
|
||||
<div class="simple color -white">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -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