{% block doctype %}<!DOCTYPE html>{% endblock %}
{% load i18n %}
<html lang="{{ LANGUAGE_CODE }}"> 
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>{% block title %}{% endblock %}{% trans "My Website" %}</title>
    <link rel="icon" href="{{ STATIC_URL }}site/img/favicon.ico" type="image/png">
    
    {% block meta_tags %}{% endblock %} 
    
    {% block stylesheet %}
        <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
        <link href="{{ STATIC_URL }}site/css/style.css" rel="stylesheet" media="screen" type="text/css" />
    {% endblock %}
    
    <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
    <script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
    <script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>

    {% block js %}{% endblock %}
    {% block extrahead %}{% endblock %}
</head>
<body class="{% block bodyclass %}{% endblock %}">
    {% block page %}
        <div class="wrapper">
            <div id="header" class="clearfix">
                <h1 class="text-center">{% trans "Moja strona internetowa" %}</h1>
                {% block header_navigation %}
                {% endblock %}
                {% block language_chooser %}
                {% endblock %}
            </div>
            {% block container %}
                <div class="container">
                    <div class="row">
                        <div id="content" class="col-md-12">
                            {% block content %}
                            {% endblock %}
                        </div>
                    </div>
                </div>
            {% endblock %}
            <div id="footer" class="clearfix">
                {% block footer_navigation %}
                {% endblock %}
            </div>
        </div>
    {% endblock %}
    <script type="text/javascript">
        $(function() {
            $("a[href^='http://']").attr("target", "_blank");           
        });
    </script>
    {% block extrabody %}{% endblock %}    
</body>
</html>
