<!doctype html>
<html lang="{{ .lang }}">
<head>
    <title>{{ .headTitle }}</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="{{ .headDescription }}">
    <meta name="keywords" content="{{ .headKeywords }}">
    <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <link href="/static/app/css/reset/reset.css?v={{ version }}" rel="stylesheet">
    <link href="/static/app/css/bootstrap/bootstrap.min.css?v={{ version }}" rel="stylesheet">
    <link href="/static/app/css/style.css?v={{ version }}" rel="stylesheet">
    <link href="/static/app/css/color-red.css?v={{ version }}" rel="stylesheet">
    {{ block "custom_head_static" . }}{{ end }}
</head>
<body>
    <section class="page-cover" id="home">
        <div class="language">
            {{ if eq .lang "ru" }}
                <a href="/en" class="language-en" title="English"></a>
            {{ else }}
                <a href="/" class="language-ru" title="Русский"></a>
            {{ end }}
        </div>
        <div class="container">
            <div class="center-title">
                <h1>{{ noescape .pageTitle }}</h1>
            </div>
        </div>
    </section>
    {{ embed }}
    <footer>
        <div class="container text-center">
            <div class="copyright-text">
                <p>
                    {{ trans .lang "footer_text"}}<br>
                    <a href="mailto:info@dmitriygnatenko.ru">info@dmitriygnatenko.ru</a>
                </p>
                <hr>
                <p>&copy; {{ now.UTC.Year }} {{ trans .lang "footer_author"}}</p>
            </div>
        </div>
    </footer>
    <a href="#home" class="backtop">&uarr;</a>
    <script src="/static/app/js/html5/html5shiv.min.js?v={{ version }}"></script>
    <script src="/static/app/js/html5/respond.min.js?v={{ version }}"></script>
    <script src="/static/app/js/jquery/jquery-2.2.4.min.js?v={{ version }}"></script>
    {{ block "custom_bottom_static" . }}{{ end }}
    </body>
</html>