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

7 lines
199 B
HTML
Raw Normal View History

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