2024-04-28 17:33:09 +02:00
|
|
|
{{ $url := .Get "url"}}
|
2024-06-26 21:44:28 +02:00
|
|
|
{{ with resources.GetRemote (urls.Parse $url) }}
|
2024-04-28 17:33:09 +02:00
|
|
|
{{ .Content | markdownify }}
|
|
|
|
{{ else }}
|
|
|
|
{{ errorf "Mardown Importer Shortcode - Unable to get remote resource" . }}
|
2024-06-26 21:44:28 +02:00
|
|
|
{{ end }}
|