summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/shortcodes/mdimporter.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/layouts/shortcodes/mdimporter.html')
-rw-r--r--themes/blowfish/layouts/shortcodes/mdimporter.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/blowfish/layouts/shortcodes/mdimporter.html b/themes/blowfish/layouts/shortcodes/mdimporter.html
index 28b24fe..18b87bd 100644
--- a/themes/blowfish/layouts/shortcodes/mdimporter.html
+++ b/themes/blowfish/layouts/shortcodes/mdimporter.html
@@ -1,6 +1,6 @@
{{ $url := .Get "url"}}
-{{ with resources.GetRemote (printf $url) }}
+{{ with resources.GetRemote (urls.Parse $url) }}
{{ .Content | markdownify }}
{{ else }}
{{ errorf "Mardown Importer Shortcode - Unable to get remote resource" . }}
-{{ end }} \ No newline at end of file
+{{ end }}