1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-30 03:05:58 -04:00

clean up shortcodes

This commit is contained in:
2021-12-13 20:46:28 -05:00
parent 964c4ef543
commit cda7d538a6
15 changed files with 64 additions and 25 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{{- $url := printf "https://publish.twitter.com/oembed?lang=en&omit_script=true&dnt=true&align=center&url=%s" (index .Params 0 | safeURL) -}}
{{- $url := printf "https://publish.twitter.com/oembed?lang=en&omit_script=true&dnt=true&url=%s" (index .Params 0 | safeURL) -}}
{{- $json := getJSON $url -}}
{{ $json.html | safeHTML }}