base.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {% load navigation_tags static wagtailuserbar %}
  2. {% block head %}
  3. {% include "includes/head.html" %}
  4. {% endblock head %}
  5. <body>
  6. {% wagtailuserbar %}
  7. {% block header %}
  8. {% include "includes/header.html" with parent=site_root calling_page=self %}
  9. {# Header contains the main_navigation block #}
  10. {% endblock header %}
  11. {% block messages %}
  12. {% include "includes/messages.html" %}
  13. {% endblock messages %}
  14. <content>
  15. {% block content-header %}
  16. {% endblock content-header %}
  17. {% block breadcrumbs %}
  18. {% breadcrumbs %}
  19. {# breadcrumbs is defined in base/templatetags/navigation_tags.py #}
  20. {% endblock breadcrumbs %}
  21. {% block content-body %}
  22. {% endblock content-body %}
  23. </content>
  24. <hr>
  25. <!-- Footer -->
  26. <footer>
  27. {% include "includes/footer.html" %}
  28. </footer>
  29. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  30. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  31. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
  32. <script src="{% static 'js/bakery.js' %}"></script>
  33. <!-- Theme JavaScript -->
  34. <script src="{% static 'js/clean-blog.min.js' %}"></script>
  35. </body>
  36. </html>