<style> :root { {{ if .Site.Params.colors }} {{ range $key, $val := .Site.Params.colors }} --{{ $key }}-color: {{ $val }}; {{ end }} {{ end }} {{ if .Site.Params.contact }} --footer-height-block: {{ mul (add (len .Site.Params.contact) 2) 2 }}em; {{ end }} } </style>