base.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {% load navigation_tags static wagtailuserbar %}
  2. {% block head %}
  3. {% include "includes/head.html" %}
  4. {% endblock head %}
  5. <body class="{% block body_class %}template-{{ self.get_verbose_name|slugify }}{% endblock %}">
  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 head-extra %}
  12. {% endblock head-extra %}
  13. {% block messages %}
  14. {% include "includes/messages.html" %}
  15. {% endblock messages %}
  16. {% block breadcrumbs %}
  17. {% breadcrumbs %}
  18. {# breadcrumbs is defined in base/templatetags/navigation_tags.py #}
  19. {% endblock breadcrumbs %}
  20. <content>
  21. {% block content %}
  22. {% endblock content %}
  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. <!-- Theme JavaScript -->
  33. <script src="{% static 'js/clean-blog.min.js' %}"></script>
  34. </body>
  35. </html>