Move a bunch of shortcodes and partials back from the platters theme

This commit is contained in:
Eryn Wells 2024-10-08 08:45:44 -07:00
parent 20d53e0df2
commit 3102dc1e56
29 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,18 @@
<header class="flex-date">
{{ .Inner }}
<span class="date">
{{ if .IsNamedParams }}
{{ with .Get "from" }}
<time datetime="{{ . }} ">{{ . }}</time>
{{ end }}
to
{{ with .Get "to" }}
<time datetime="{{ . }}">{{ . }}</time>
{{ else }}
present
{{ end }}
{{ else }}
{{ .Get 0 }}
{{ end }}
</span>
</header>