diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-06-26 21:44:28 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-06-26 21:44:28 +0200 |
commit | 58e2c9ae87f09dac79ecf962331ae2c51f4ba7f1 (patch) | |
tree | d819d1747427f81d1883a715ec60d13d575053e4 /themes/blowfish/layouts/shortcodes/mdimporter.html | |
parent | b1a7697b03cfb0143af78993387f758836e842bf (diff) |
update the theme
Diffstat (limited to 'themes/blowfish/layouts/shortcodes/mdimporter.html')
-rw-r--r-- | themes/blowfish/layouts/shortcodes/mdimporter.html | 4 |
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 }} |