Ajout de page et du style principal

This commit is contained in:
2020-09-02 16:54:03 +02:00
parent f622ee0206
commit e06307538c
66 changed files with 4023 additions and 14 deletions

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . }}
<body{{ $currentPage := . }}{{ range .Site.Menus.main }}
{{ if or ($currentPage.IsMenuCurrent "main" .) (eq $currentPage.Menus.main.Pre .Pre) }} class="{{ .Pre }}"{{ end }}
{{ if $currentPage.IsHome }} class="home"{{ end }}
{{ end }}>
{{ partial "header.html" . }}
{{ block "all" . }}
<main role="main" id="content">
{{ block "main" . }}{{ end }}
</main>
{{ end }}
{{ partial "footer.html" . }}
{{ partial "js.html" . }}
</body>
</html>