summaryrefslogtreecommitdiffstats
path: root/layouts/_shortcodes/preview.html
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-26 14:00:48 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-26 14:00:48 -0500
commitbe4365f71e48ed8752fe1cb1fcb516280d2866a8 (patch)
tree0c09d61f9993cd3e2f7138988e04269a3baa32d8 /layouts/_shortcodes/preview.html
parent71fc39ec0d5c5ea5508e12a7bbbc1d09164802b7 (diff)
downloadsamanthony.xyz-be4365f71e48ed8752fe1cb1fcb516280d2866a8.zip
add uni transcript to resume page
Diffstat (limited to 'layouts/_shortcodes/preview.html')
-rw-r--r--layouts/_shortcodes/preview.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_shortcodes/preview.html b/layouts/_shortcodes/preview.html
new file mode 100644
index 0000000..450b57e
--- /dev/null
+++ b/layouts/_shortcodes/preview.html
@@ -0,0 +1,3 @@
+{{- $src := .Get "src" -}}
+<h1>Preview of <a href="{{ $src }}"><span class="mono">{{ path.Base $src }}</span></a></h1>
+<iframe src="{{ $src }}"></iframe>