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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user