This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
6
themes/blowfish/layouts/shortcodes/mdimporter.html
Normal file
6
themes/blowfish/layouts/shortcodes/mdimporter.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{{ $url := .Get "url"}}
|
||||
{{ with resources.GetRemote (printf $url) }}
|
||||
{{ .Content | markdownify }}
|
||||
{{ else }}
|
||||
{{ errorf "Mardown Importer Shortcode - Unable to get remote resource" . }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue