1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 16:05:31 -04:00
2020-01-20 11:32:40 -05:00
parent 3e8d20eb61
commit be6f8b1fef
15 changed files with 65 additions and 13 deletions

View File

@@ -1,11 +1,19 @@
{{ if .HasShortcode "gh-buttons" -}}
{{ partial "scripts/shortcodes/gh-buttons" . }}
{{ template "__shortcode_gh-buttons_js" $ }}
{{ end -}}
{{ if .HasShortcode "tweet" -}}
{{ partial "scripts/shortcodes/tweet" . }}
{{ template "__shortcode_twitter_js" $ }}
{{ end -}}
{{ if .HasShortcode "facebook" -}}
{{ partial "scripts/shortcodes/facebook" . }}
{{ template "__shortcode_facebook_js" $ }}
{{ end -}}
{{ if .HasShortcode "instagram" -}}
{{ template "__shortcode_instagram_js" $ }}
{{ end -}}
{{ if .HasShortcode "vimeo" -}}
{{ template "__shortcode_vimeo_js" $ }}
{{ end -}}

View File

@@ -1,2 +0,0 @@
<div id="fb-root"></div>
<script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v5.0"></script>

View File

@@ -1 +0,0 @@
<script async defer src="https://buttons.github.io/buttons.js"></script>

View File

@@ -1 +0,0 @@
<script async defer src="https://platform.twitter.com/widgets.js"></script>