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
+4 -2
View File
@@ -6,9 +6,11 @@
{{- with .Inner }}
alt="{{ . | $.Page.RenderString | plainify | safeHTML }}"
{{- else }}
{{ with .Get "alt" }} alt="{{ . | safeHTML }}"{{ end }}
{{ with .Get "alt" }}
alt="{{ . | safeHTML }}"
{{ end }}
{{- end -}}
>
/>
{{ if .Get "link" }}</a>{{ end }}
{{ with .Inner -}}