7 lines
199 B
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 }}
|