diff --git a/themes/sandpoints/layouts/_default/_markup/render-image.html b/themes/sandpoints/layouts/_default/_markup/render-image.html index 3fc348d..5521176 100644 --- a/themes/sandpoints/layouts/_default/_markup/render-image.html +++ b/themes/sandpoints/layouts/_default/_markup/render-image.html @@ -35,6 +35,15 @@ {{- else -}} {{- $text_link -}}⦚topic:{{- $t_destination -}} not found {{- end -}} +{{- else if strings.HasPrefix .Destination "audio:" -}} + {{- $a_destination := (substr .Destination 6) -}} + {{- if findRE "^.*static" $a_destination -}} +
{{ .Text }}
+ + {{- else -}} +
{{ .Text }}
+ + {{- end -}} {{- else if findRE "^.*static" .Destination -}} {{- .Text -}} {{- else -}}