From e733d7fd747914cd9c61bbd79b570d9ee003d9ee Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 9 Aug 2015 01:33:44 +0100 Subject: [PATCH] Footers --- source/_layouts/base.html.twig | 3 ++- ...ter.html.twig => footer_content.html.twig} | 2 -- source/_partials/footer_scripts.html.twig | 22 +++++++++++++++++++ 3 files changed, 24 insertions(+), 3 deletions(-) rename source/_partials/{footer.html.twig => footer_content.html.twig} (83%) create mode 100644 source/_partials/footer_scripts.html.twig diff --git a/source/_layouts/base.html.twig b/source/_layouts/base.html.twig index 3828b979..fe5bdc40 100644 --- a/source/_layouts/base.html.twig +++ b/source/_layouts/base.html.twig @@ -23,6 +23,7 @@ {# .row #} {# .container #} - {% include 'footer' %} + {% include 'footer_content' %} + {% include 'footer_scripts' %} diff --git a/source/_partials/footer.html.twig b/source/_partials/footer_content.html.twig similarity index 83% rename from source/_partials/footer.html.twig rename to source/_partials/footer_content.html.twig index 5d582e3f..9f9ceaae 100644 --- a/source/_partials/footer.html.twig +++ b/source/_partials/footer_content.html.twig @@ -3,5 +3,3 @@ {% include 'meetups' %} - -{% include 'footer-scripts' %} diff --git a/source/_partials/footer_scripts.html.twig b/source/_partials/footer_scripts.html.twig new file mode 100644 index 00000000..a793a03e --- /dev/null +++ b/source/_partials/footer_scripts.html.twig @@ -0,0 +1,22 @@ + + + + + +{% block scripts %}{% endblock %} + +{% if page.tweets is defined and page.tweets == true %} + +{% endif %} + +{% if site.google_analytics_tracking_id %} + +{% endif %}