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,26 @@
<header class="content-title">
<h1>{{ .Title | markdownify }}</h1>
{{ with .Description -}}
<p class="subtitle">{{ . }}</p>
{{- end }}
{{ with .Date -}}
<time>{{ . | time.Format "January 2, 2006" }}</time>
{{- end }}
{{- if .Params.series -}}
{{- $series := .GetTerms "series" -}}
{{- if gt (len $series) 1 -}}
{{- errorf "More than one series for %s" .Permalink -}}
{{- end -}}
{{- with index $series 0 -}}
<span class="series">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</span>
{{- end -}}
{{- end -}}
{{ partial "development/draft_tag.html" . }}
</header>