1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-29 23:45:58 -04:00

clean up shortcodes

This commit is contained in:
2021-12-13 20:46:28 -05:00
parent 964c4ef543
commit cda7d538a6
15 changed files with 64 additions and 25 deletions
+9 -1
View File
@@ -1,3 +1,11 @@
<div class="embed {{ .Name }}">
<iframe src="{{ .Get "src" }}"{{ with .Get "title" }} title="{{ . }}"{{ end }}{{ with .Get "sandbox" }} sandbox="{{ . }}"{{ end }}></iframe>
<iframe
src="{{ .Get "src" }}"
{{ with .Get "title" }}
title="{{ . }}"
{{ end }}
{{ with .Get "sandbox" }}
sandbox="{{ . }}"
{{ end }}>
</iframe>
</div>