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:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user