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

70 lines
3.2 KiB
HTML
Raw Normal View History

2018-06-22 13:06:59 +00:00
{% load compress static wagtailuserbar navigation information %}
{% get_site_root as site_root %}
2020-02-18 15:51:34 +00:00
{% get_site as the_site %}
<!DOCTYPE html>
2018-06-28 13:58:20 +00:00
<html lang="{% language_cur %}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2020-02-18 15:51:34 +00:00
<title>{% block title %}{% if self.seo_title %}{{ self.seo_title }}{% else %}{% if page.trans_title %}{{ page.trans_title }} - {% endif %}{% contact_name the_site=the_site html=False %}{% 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 %}">
2019-08-12 15:28:31 +00:00
{% block extra_css %}{% endblock %}
{% if page.subscribe_action %}
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
{% endif %}
{% compress css %}
2016-12-12 22:43:20 +00:00
<link rel="stylesheet" type="text/x-scss" href="{% static 'css/main.scss' %}">
{% endcompress %}
2017-05-16 10:03:53 +00:00
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
2018-06-22 13:47:42 +00:00
<body class="{% block body_class %}{% endblock %} site-{{ site_root.slug }}">
{% 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' %}
2020-02-18 15:27:21 +00:00
<script src="{% static 'libs/jquery/dist/jquery.js' %}"></script>
<script src="{% static 'libs/bootstrap-sass/assets/javascripts/bootstrap.min.js' %}"></script>
<script src="{% static 'libs/slick-carousel/slick/slick.min.js' %}"></script>
<script src="{% static 'libs/slick-lightbox/dist/slick-lightbox.js' %}"></script>
<script src="{% static 'libs/cookieconsent/build/cookieconsent.min.js' %}"></script>
{% if page.subscribe_action %}
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
<script type='text/javascript'>(function($) {
window.fnames = new Array();
window.ftypes = new Array();
fnames0='EMAIL';
ftypes0='email';
fnames1='FNAME';
ftypes1='text';
fnames2='LNAME';
ftypes2='text';
fnames9='MMERGE9';
ftypes9='radio';
$.extend($.validator.messages, {
required: "Dieses Feld ist ein Pflichtfeld.",
maxlength: $.validator.format("Geben Sie bitte maximal {0} Zeichen ein."),
minlength: $.validator.format("Geben Sie bitte mindestens {0} Zeichen ein."),
email: "Geben Sie bitte eine gültige E-Mail Adresse ein.",
});}(jQuery));
var $mcj = jQuery.noConflict(true);
</script>
{% endif %}
2020-02-18 15:27:21 +00:00
{% block extra_js %}{% endblock %}
2017-01-27 16:06:53 +00:00
{% compress js %}
<script type="text/javascript" src="{% static 'js/main.js' %}"></script>
{% endcompress %}
</body>
</html>