This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_partials/footer-scripts.html.twig

20 lines
840 B
Twig
Raw Normal View History

2015-03-29 22:53:59 +00:00
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="{{ site.url }}/{{ theme_path('assets/js/bootstrap.min.js') }}"></script>
2015-03-17 09:13:37 +00:00
{% block scripts %}{% endblock %}
2015-03-20 02:23:39 +00:00
{% if page.tweets == true %}
2015-05-16 04:08:41 +00:00
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
2015-03-20 02:23:39 +00:00
{% endif %}
2015-03-17 09:13:37 +00:00
{% if site.google_analytics_tracking_id %}
2015-05-16 04:08:41 +00:00
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
2015-03-17 09:13:37 +00:00
2015-05-16 04:08:41 +00:00
ga('create', '{{ site.google_analytics_tracking_id }}', 'auto');
ga('send', 'pageview');
</script>
2015-03-17 09:13:37 +00:00
{% endif %}