{# Set the "user" variable for all derived templates. #}
{% set user = user() %}

{# This template is used as base to wrap every page.
 # It contains header and footer HTML.
 #}

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta   charset = "utf-8" />
        <meta   content = "width=device-width, initial-scale=1.0"
                name    = "viewport" />
        
        <link href = "{{ url('static_assets', filename='css/dokk.css') }}"
              rel  = "stylesheet" />
        
        {# For custom <meta /> #}
        {% block meta %}{% endblock %}
        
        {# For custom CSS styles #}
        {% block css %}{% endblock %}
        
        <title>{{ dokk and (dokk['title'] + ' - ') or '' }}DOKK</title>
    </head>
    
    <body>
        
        {% block body %}{% endblock %}
        
        <script id="dokk.js" data-suggest="{{ url('suggest') }}" src="{{ url('static_assets', filename='js/dokk.min.js') }}"></script>
        {% block javascript %}{% endblock %}
    </body>
</html>
