summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/shortcodes/mdimporter.html
blob: 18b87bd6a9e09b2fb79d2ce15ed3992add52e94c (plain)
1
2
3
4
5
6
{{ $url := .Get "url"}}
{{ with resources.GetRemote (urls.Parse $url) }}
{{ .Content | markdownify }}
{{ else }}
{{ errorf "Mardown Importer Shortcode - Unable to get remote resource" . }}
{{ end }}