{% macro headers() -%}
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
    <link rel="manifest" href="/manifest.webapp">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>

    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

    <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
    <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="/favicon-194x194.png" sizes="194x194">
    <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
    <link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
{#    <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">#}
    <link rel="manifest" href="/manifest.json">
    <meta name="apple-mobile-web-app-title" content="Text Generator">
    <meta name="application-name" content="text generator">
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="/mstile-144x144.png">
    <meta name="theme-color" content="#ffffff">
{%- endmacro %}

{% macro cssheaders() -%}

    <link type="text/css" rel="stylesheet" href="{{ static_url }}/css/style.css"/>
{%- endmacro %}

{% macro jsheaders() -%}
    <script type="text/javascript" src="{{ static_url }}/bower_components/underscore/underscore.js"></script>
    <script type="text/javascript" src="{{ static_url }}/bower_components/backbone/backbone.js"></script>
    <script type="text/javascript" src="{{ static_url }}/bower_components/nunjucks/browser/nunjucks.js"></script>

    {#    <script type="text/javascript" src="{{ static_url }}/js/nunjucks-slim.js"></script>#}
    <script type="text/javascript" src="{{ static_url }}/js/templates.js"></script>
    <script type="text/javascript" src="{{ static_url }}/js/router.js"></script>
    <script type="text/javascript" src="{{ static_url }}/js/evutils.js"></script>
    <script type="text/javascript" src="{{ static_url }}/js/views/views.js"></script>
    <script type="text/javascript" src="{{ static_url }}/js/game.js"></script>
    <script async src="{{ static_url }}/js/typer.js"></script>

    <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-63911915-1', 'auto');
  ga('send', 'pageview');

</script>

{%- endmacro %}

{% macro jsvars() -%}
    <script>
        window.fixtures = (function () {
            "use strict";
            var self = {};
            return self;
        })();

    </script>
{%- endmacro %}


{%- macro responsiveAd() %}
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- responsiveAd -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-7026363262140448"
         data-ad-slot="9824934150"
         data-ad-format="auto"></ins>
    <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
{%- endmacro %}
