1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-20 17:41:17 -04:00

fix a few RSS validation warnings

This commit is contained in:
2020-07-20 12:44:21 -04:00
parent bc03922573
commit 17824d4c5c
33 changed files with 34 additions and 62 deletions

View File

@@ -1,6 +1,4 @@
{{- $url := printf "https://publish.twitter.com/oembed?lang=en&omit_script=true&dnt=true&align=center&url=%s" (index .Params 0 | safeURL) -}}
{{- $json := getJSON $url -}}
<div class="embed tweet">
{{ $json.html | safeHTML }}
</div>