diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html new file mode 100644 index 0000000..ffcfddf --- /dev/null +++ b/layouts/_default/_markup/render-link.html @@ -0,0 +1,5 @@ +{{- if hasPrefix .Destination "https://" -}} + {{ .Text }} +{{- else -}} + {{ .Text }} +{{- end -}} diff --git a/layouts/shortcodes/iimg.html b/layouts/shortcodes/iimg.html index 63b1139..df5a9a6 100644 --- a/layouts/shortcodes/iimg.html +++ b/layouts/shortcodes/iimg.html @@ -25,4 +25,4 @@ {{- else -}} {{ $alt }} {{- end -}} -

\ No newline at end of file +