Allow pages to specify a two-column layout

This commit is contained in:
Eryn Wells 2023-02-01 09:10:21 -08:00
parent 12a3fc6e59
commit 5deda1c5ee
2 changed files with 13 additions and 3 deletions

View file

@ -1,6 +1,9 @@
{{ partial "content_header.html" . }}
{{- $layout := .Params.layout -}}
<article{{ with $layout }} class="{{ . }}"{{ end }}>
{{ .Content }}
</article>
<footer>
{{ partial "footer_tags.html" . }}