Make the footer multilines view variable

This commit is contained in:
Gregory Trolliet 2020-04-28 08:40:17 +02:00
parent c76fa98be3
commit b5e4178324
5 changed files with 26 additions and 13 deletions

View file

@ -1,15 +1,7 @@
<!DOCTYPE html>
<html lang="fr">
{{- partial "head.html" . -}}
{{ if .Site.Params.colors }}
<style>
:root {
{{ range $key, $val := .Site.Params.colors }}
--{{ $key }}-color: {{ $val }};
{{ end }}
}
</style>
{{ end }}
{{- partial "style.html" . -}}
<body>
{{- partial "header.html" . -}}
{{- block "main" . }}{{- end }}