crazy-toads.github.io/_includes/scripts.html
VEAUDOUR mickael e22b39b702 Better template usage (#29)
* Move ChannelsList in pages and use template
* Add fullscreen page
* Change filename for result
* Move script for cytoscape to be common
2019-06-05 01:15:29 +08:00

28 lines
No EOL
951 B
HTML

{% if site.google_analytics %}
<!-- Asynchronous Google Analytics snippet -->
<script>
var _gaq = _gaq || [];
var pluginUrl =
'//www.google-analytics.com/plugins/ga/inpage_linkid.js';
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
_gaq.push(['_setAccount', '{{ site.google_analytics }}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
{% endif %}
<!-- gist embed -->
{% if page.gistembed %}
{% include gist_embed.html %}
{% endif %}
<!-- disqus comments -->
{% if page.comments %}{% include disqus_comments.html %}{% endif %}
<!-- js.cytoscape -->
{% if page.cytoscape %}{% include cytoscape.html %}{% endif %}