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