Move all layouts to platters theme

This commit is contained in:
Eryn Wells 2024-10-07 21:39:17 -07:00
parent de8101efed
commit 66adceaf24
91 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{{ define "header" }}
{{ partial "header.html" . }}
{{ end }}
{{ define "main" }}
<header>
<h1>{{ .Title }}</h1>
</header>
{{ partial "ruby_controls.html" . }}
{{- $hasContent := false -}}
{{ with .Content }}
{{- $hasContent = true -}}
{{ . }}
{{ end }}
{{ if .Params.posts | default true }}
{{ if $hasContent }}
<h2>Posts</h2>
{{ end }}
{{- range .Pages -}}
{{ .Render "li_grid_with_date" }}
{{- end -}}
{{ end }}
{{ end }}
{{ define "footer" }}
{{ partial "footer.html" . }}
{{ end }}