cullmann.io/themes/blowfish/layouts/shortcodes/mdimporter.html

7 lines
199 B
HTML

{{ $url := .Get "url"}}
{{ with resources.GetRemote (urls.Parse $url) }}
{{ .Content | markdownify }}
{{ else }}
{{ errorf "Mardown Importer Shortcode - Unable to get remote resource" . }}
{{ end }}