head.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {% load static %}
  2. <!DOCTYPE html>
  3. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  4. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  5. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  6. <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  7. <head>
  8. <meta charset="utf-8">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  10. <title>
  11. {% block title %}
  12. {% block title_prefix %}
  13. Wagtail demo bakery
  14. {% endblock %}
  15. {% if self.seo_title %}
  16. {{ self.seo_title }}
  17. {% else %}
  18. {{ self.title }}
  19. {% endif %}
  20. {% endblock %}
  21. </title>
  22. <meta name="description" content="{% if self.search_description %}{{ self.search_description }}{% endif %}">
  23. <meta name="viewport" content="width=device-width, initial-scale=1">
  24. <!-- Bootstrap Core CSS -->
  25. <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
  26. <!-- Font Awesome Icons -->
  27. {% load wagtailfontawesome %}
  28. {% fontawesome_css %}
  29. <!-- Custom Fonts -->
  30. <link href="{% static 'css/font-alegreya.css' %}" rel="stylesheet">
  31. <link href="{% static 'css/font-lato.css' %}" rel="stylesheet">
  32. <!-- Theme CSS -->
  33. <link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}">
  34. <link href="{% static 'css/font-lora.css' %}" rel="stylesheet" type="text/css">
  35. <link href="{% static 'css/font-open-sans.css' %}" rel="stylesheet" type="text/css">
  36. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  37. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  38. <!--[if lt IE 9]>
  39. <script src="{% static 'js/html5shiv.min.js' %}"></script>
  40. <script src="{% static 'js/respond.min.js' %}"></script>
  41. <![endif]-->
  42. </head>