From 58e2c9ae87f09dac79ecf962331ae2c51f4ba7f1 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 26 Jun 2024 21:44:28 +0200 Subject: update the theme --- themes/blowfish/layouts/shortcodes/mdimporter.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/blowfish/layouts/shortcodes/mdimporter.html') 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 }} -- cgit v1.2.3