{% extends 'layout.html' %}

{% block page %}

    <div class="dokk-article">
        
        <div class="headline">
            <div>
                {{ dokk['title'] }}
            </div>
            
            <div class="edit">
                <a href="{{ url('edit', type='article', id=node['id']) }}">
                    <img src="{{ url('static_assets', filename='images/pencil.svg') }}"
                         alt="Improve this article"
                         title="Improve this article" />
                </a>
            </div>
        </div>
        
        <div class="body">
            {{ page|commonmark2html|safe }}
        </div>
        
    </div>

{% endblock %}
