update the theme

This commit is contained in:
Christoph Cullmann 2024-06-26 21:44:28 +02:00
parent b1a7697b03
commit 58e2c9ae87
No known key found for this signature in database
166 changed files with 326580 additions and 582 deletions

View file

@ -0,0 +1,8 @@
{{ $url := .Get "url" }}
{{ $type := .Get "type" }}
{{ with resources.GetRemote (urls.Parse $url) }}
{{ $codeBlock := printf "```%s\n%s\n```" $type .Content }}
{{ $codeBlock | markdownify }}
{{ else }}
{{ errorf "Code Importer Shortcode - Unable to get remote resource" . }}
{{ end }}