Footers
This commit is contained in:
parent
33a2523371
commit
e733d7fd74
|
@ -23,6 +23,7 @@
|
||||||
</div>{# .row #}
|
</div>{# .row #}
|
||||||
</div>{# .container #}
|
</div>{# .container #}
|
||||||
|
|
||||||
{% include 'footer' %}
|
{% include 'footer_content' %}
|
||||||
|
{% include 'footer_scripts' %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -3,5 +3,3 @@
|
||||||
|
|
||||||
{% include 'meetups' %}
|
{% include 'meetups' %}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{% include 'footer-scripts' %}
|
|
22
source/_partials/footer_scripts.html.twig
Normal file
22
source/_partials/footer_scripts.html.twig
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<script src="{{ site.url }}/components/jquery/jquery.min.js"></script>
|
||||||
|
<script src="{{ site.url }}/components/bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
<script src="{{ site.url }}/components/highlightjs/highlight.pack.js"></script>
|
||||||
|
<script>hljs.initHighlightingOnLoad();</script>
|
||||||
|
|
||||||
|
{% block scripts %}{% endblock %}
|
||||||
|
|
||||||
|
{% if page.tweets is defined and page.tweets == true %}
|
||||||
|
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if site.google_analytics_tracking_id %}
|
||||||
|
<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');
|
||||||
|
|
||||||
|
ga('create', '{{ site.google_analytics_tracking_id }}', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
{% endif %}
|
Loading…
Reference in a new issue