diff options
Diffstat (limited to 'site/_includes/twitterFeed.html')
-rw-r--r-- | site/_includes/twitterFeed.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/site/_includes/twitterFeed.html b/site/_includes/twitterFeed.html new file mode 100644 index 0000000..1fde3ab --- /dev/null +++ b/site/_includes/twitterFeed.html @@ -0,0 +1,20 @@ +<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/{{ site.twitter.hashtag }}" data-widget-id="{{ site.twitter.widgetid }}">Tweets by @@{{ site.twitter.hashtag }}</a> + +<script> +window.twttr = (function(d, s, id) { + var js, fjs = d.getElementsByTagName(s)[0], + t = window.twttr || {}; + if (d.getElementById(id)) return t; + js = d.createElement(s); + js.id = id; + js.src = "https://platform.twitter.com/widgets.js"; + fjs.parentNode.insertBefore(js, fjs); + + t._e = []; + t.ready = function(f) { + t._e.push(f); + }; + + return t; +}(document, "script", "twitter-wjs")); +</script> |