{% load cms_tags menu_tags sekizai_tags staticfiles bootstrap3 %}
<!doctype html>
<html>
  <head>
    <title>
      {% block title %}
      {% page_attribute "page_title" %}
      {% endblock %}
    </title>
    {% addtoblock "external-css" %}
    {% bootstrap_css %}

    <link href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css' rel="stylesheet" type="text/css">
    <link href='//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
    <link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
	  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]-->
    {% endaddtoblock %}

    {% addtoblock "css" %}
    <link href="{% static 'blog.ungleich.ch/css/clean-blog.css' %}" type="text/css"
	  rel="stylesheet" medial="all" />
    {% endaddtoblock %}
    {% block meta %}
    <meta charset="UTF-8">
    <meta name="description" content="{% page_attribute 'meta_description' %}">
    {% include 'meta.html' %}
    {% endblock %}
    {% render_block "external-css" %}
    {% render_block "css" postprocessor "compressor.contrib.sekizai.compress" %}
  </head>
  <body>
    {% cms_toolbar %}
    {% show_menu 0 0 0 1 "cms/ungleichch/_menu.html" %}
    <!-- body -->
    <!-- Main Content -->
    {% block base_header %}
    {% include "cms/ungleichch/_header_base.html"  %}
    {% endblock %}
    <div class="container">
      <div class="row">
	<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
	  {% block base_content %}
	  {% placeholder "default" %}
	  {% endblock %}
	</div>
      </div>
    </div>
    <!-- end body -->
    {% include "cms/ungleichch/_footer.html" %}
    {% addtoblock "external-js" %}
    {% bootstrap_javascript %}
    {% endaddtoblock %}
    {% addtoblock "js" %}
    <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-4', 'auto');
      ga('send', 'pageview');

    </script>

    <script src="{% static 'blog.ungleich.ch/vendor/js/jquery.min.js' %}" type="text/javascript" />
    <script src="{% static 'blog.ungleich.ch/js/navbar-scroll-up.js' %}" type="text/javascript" />
    {% endaddtoblock %}
    {% render_block "js" postprocessor "compressor.contrib.sekizai.compress" %}
    {% render_block "external-js" %}
  </body>
</html>