1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-23 10:34:25 -04:00

re-organize a bunch of partials

This commit is contained in:
2020-01-14 18:08:42 -05:00
parent 53099d3a77
commit 6c44b7d44d
34 changed files with 160 additions and 88 deletions

View File

@@ -1,3 +1,6 @@
{{- $url := printf "https://www.facebook.com/plugins/post/oembed.json/?omitscript=1&url=%s" (.Get "url" | urlize) -}}
{{- $json := getJSON $url -}}
{{- $json.html | safeHTML -}}
<div class="embed facebook">
{{ $json.html | safeHTML }}
</div>