Move some styles fron zen to base. Add margin-top and margin bottom classes for all spacing levels. Add footer component.

This commit is contained in:
Fredrik Jonsson 2023-03-15 15:46:09 +01:00
commit 1d6e50708a

View file

@ -2,7 +2,7 @@
<main class="main layout__main">
<article class="single-view{{ with .Section }} single-view--{{ . | urlize }}{{ end }}">
<header>
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
<h1 class="title {{ if $.Param "submitted" | default false }}mb--xxs{{ end }}">{{ .Title }}</h1>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . }}{{ end -}}
{{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}}
</header>