public-health-ch/publichealth/templates/base.html

47 lines
1.9 KiB
HTML
Raw Normal View History

{% load compress static wagtailuserbar %}
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
2017-02-15 09:54:06 +00:00
<!-- TODO: aad html lang="de-CH" attribute -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% block title %}{% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}{% endblock %}{% block title_suffix %}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
2017-01-27 16:06:53 +00:00
<meta name="description" content="{% block description %}{% endblock %}">
{% compress css %}
2017-01-27 16:06:53 +00:00
<link rel="stylesheet" type="text/x-scss" href="{% static 'libs/slick-carousel/slick/slick.scss' %}">
<link rel="stylesheet" type="text/x-scss" href="{% static 'libs/slick-carousel/slick/slick-theme.scss' %}">
2016-12-12 22:43:20 +00:00
<link rel="stylesheet" type="text/x-scss" href="{% static 'css/main.scss' %}">
{% endcompress %}
{% block extra_css %}
{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
{% wagtailuserbar %}
2017-01-27 16:06:53 +00:00
{% include 'header.html' %}
{% block content %}{% endblock %}
2017-01-27 16:06:53 +00:00
{% include 'footer.html' %}
{% block extra_js %}
2017-01-27 16:06:53 +00:00
<script src="{% static 'libs/jquery/dist/jquery.js' %}"></script>
2016-12-19 16:04:34 +00:00
<script src="{% static 'libs/bootstrap-sass/assets/javascripts/bootstrap.min.js' %}"></script>
2017-01-27 16:06:53 +00:00
<script src="{% static 'libs/slick-carousel/slick/slick.min.js' %}"></script>
{% endblock %}
2017-01-27 16:06:53 +00:00
{% compress js %}
<script type="text/javascript" src="{% static 'js/main.js' %}"></script>
{% endcompress %}
</body>
</html>