We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1018e1c commit 995c317Copy full SHA for 995c317
layouts/shortcodes/texto_remoto_bak.html
@@ -0,0 +1,6 @@
1
+{{- $remote_url := (.Get 0) -}}
2
+{{- $remote := resources.GetRemote "https://texto-remoto.sherlockes.workers.dev/fetch?url=" $remote_url -}}
3
+{{- $remote_data := transform.Unmarshal $remote -}}
4
+{{- with $remote_data -}}
5
+ <pre><code>{{ $remote_data.body | safeHTML }}</code></pre>
6
+{{- end -}}
0 commit comments