{% load staticfiles cms_tags menu_tags sekizai_tags  menu_tags %}
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>
      {% page_attribute "page_title" %}
    </title>


    <!-- Favicon -->
    <link rel="shortcut icon" href="{% static 'digitalglarus/img/favicon.ico' %}"/>

    <!-- Bootstrap Core CSS -->
    <link href="{% static 'digitalglarus/css/bootstrap.min.css' %}" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="{% static 'digitalglarus/css/business-casual.css' %}" rel="stylesheet">
    <!-- Fonts -->
    <link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css">
    <link href="//fonts.googleapis.com/css?family=Josefin+Slab:100,300,400,600,700,100italic,300italic,400italic,600italic,700italic" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
	<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
    {% render_block "css" postprocessor "compressor.contrib.sekizai.compress" %}
    {% render_block "js" postprocessor "compressor.contrib.sekizai.compress" %}
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-62285904-2', 'auto');
  ga('send', 'pageview');

</script>
</head>

<body>
  {% cms_toolbar %}
    <div class="brand">Digital Glarus</div>
    <div class="address-bar">
      {% placeholder 'digital_glarus_legend' %}
    </div>
    <div class="center-block">
      <ul class="list-inline center-block language-chooser-list">
	{% language_chooser "cms/digitalglarus/partials/language-chooser.html" %}
      </ul>
    </div>

    <!-- Navigation -->
    {% include "cms/digitalglarus/partials/menu.html" %}

    <div class="container">
    {% block content %} {% endblock %}
    </div>
    <!-- /.container -->

    <footer>
	<div class="container">
	    <div class="row">
		<div class="col-lg-12 text-center">
		  <p class="text-center">Copyright &copy; <a href="http://www.ungleich.ch">ungleich GmbH 2015</a></p>
		</div>
	    </div>
	</div>
    </footer>

    <!-- jQuery -->
    <script src="{% static 'digitalglarus/js/jquery.js' %}"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="{% static 'digitalglarus/js/bootstrap.min.js' %}"></script>
    <script src="{% static 'digitalglarus/js/digital.glarus.js' %}"></script>

    <!-- Script to Activate the Carousel -->
    <script>
    $('.carousel').carousel({
	interval: 5000 //changes the speed
    })
    </script>

</body>

</html>