1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 04:35:31 -04:00

GitHub was down....but pages with gists should probably still load

This commit is contained in:
2020-04-02 21:19:43 -04:00
parent 84b077e12b
commit fbf7465ff1
5 changed files with 10 additions and 10 deletions

View File

@@ -10,8 +10,8 @@
{{ block "main" . }}{{ end }}
</div>
{{ partialCached "page/footer" . }}
{{ partial "scripts/shortcodes" . }}
{{ partial "scripts/twemoji" . }}
{{ partial "scripts/shortcodes" . }}
{{ if eq hugo.Environment "production" }}
{{ partialCached "scripts/simple_analytics" . }}
{{ end }}

View File

@@ -1,3 +1,3 @@
<div class="embed gist">
<script src="https://gist.github.com/{{ .Get "id" }}.js{{ with .Get "file" }}?file={{ . }}{{ end }}"></script>
<script async defer src="https://gist.github.com/{{ .Get "id" }}.js{{ with .Get "file" }}?file={{ . }}{{ end }}"></script>
</div>

View File

@@ -6,5 +6,5 @@
</div>
{{- define "__shortcode_instagram_js" }}
<script async src="https://www.instagram.com/embed.js"></script>
<script async defer src="https://www.instagram.com/embed.js"></script>
{{- end }}

View File

@@ -3,5 +3,5 @@
</div>
{{- define "__shortcode_vimeo_js" }}
<script src="https://player.vimeo.com/api/player.js"></script>
<script async defer src="https://player.vimeo.com/api/player.js"></script>
{{ end }}