Implement new layout dir structure.

This commit is contained in:
Fredrik Jonsson 2025-04-11 15:08:04 +02:00
commit 83530eb11a

8
layouts/full.html Normal file
View file

@ -0,0 +1,8 @@
<article class="full-view{{ with .Section }} full-view--{{ . | urlize }}{{ end }}">
<header>
<h2 class="title{{ if $.Param "submitted" | default false }} mb--xxs{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . }}{{ end -}}
</header>
{{ .Content }}
</article>