theme updates

This commit is contained in:
2026-07-04 01:22:01 -07:00
parent 2f4fceadad
commit 6e8907ebf6
9 changed files with 288 additions and 82 deletions
@@ -0,0 +1,12 @@
{{- $src := .Get "src" -}}
{{- if not (or (hasPrefix $src "/") (hasPrefix $src "http")) -}}
{{- $src = .Page.RelPermalink | path.Join $src -}}
{{- end -}}
<figure class="clip">
<video controls playsinline preload="metadata">
<source src="{{ $src }}" type="{{ .Get "type" | default "video/mp4" }}">
</video>
{{- with .Get "caption" -}}
<figcaption>{{ . }}</figcaption>
{{- end -}}
</figure>