{% extends "layout-semantic2.html.twig" %}
{% block title %}{{ term.Name }}{% endblock %}
{% block header %}
    <div class="ui top attached tabular menu">
        <a class="active item" href="/wiki/{{ term.Slug }}?action=talk">Article</a>
        <a class="item" href="/wiki/{{ term.Slug }}?action=talk">Talk</a>
        <div class="right menu">
            <a class="active item" href="/wiki/{{ term.Slug }}">Read</a>
            <a class="item" href="/wiki/{{ term.Slug }}?action=edit">Edit</a>
            <a class="item" href="/wiki/{{ term.Slug }}?action=revisions">View History</a>
            <div class="item">
                <div class="ui transparent icon input">
                    <input placeholder="Search wiki" type="text">
                    <i class="search link icon"></i>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
{% block middle %}
    <div class="ui bottom attached segment">
        <h1 class="ui header">{{ term.Name }}</h1>
        <small>From wiki, the free encyclopedia</small>
        <br>
        {{ revision.HTML | markdown }}
    </div>
{% endblock %}
{% block left %}
    <div class="ui padded grid">
        <div class="row">
            <div class="column">
                <img class="ui image" src="http://placehold.it/135x155">
                <div class="ui link list">
                    <div class="header">Main page</div>
                    <a class="item">Contents</a>
                    <a class="item">Featured content</a>
                    <a class="item">Current events</a>
                    <a class="item">Random article</a>
                    <a class="item">Donate to Wiki</a>
                    <a class="item">Wikipedia store</a>
                </div>
                <div class="ui divider"></div>
                <div class="ui link list">
                    <div class="header">Interaction</div>
                    <a class="item">Help</a>
                    <a class="item">About Wiki</a>
                    <a class="item">Community portal</a>
                    <a class="item">Recent changes</a>
                    <a class="item">Contact page</a>
                </div>
                <div class="ui divider"></div>
                <div class="ui link list">
                    <div class="header">Tools</div>
                    <a class="item">What links here</a>
                    <a class="item">Related changes</a>
                    <a class="item">Upload file</a>
                    <a class="item">Special pages</a>
                    <a class="item">Permanent link</a>
                    <a class="item">Page information</a>
                    <a class="item">Wikidata item</a>
                    <a class="item">Cite this page</a>
                </div>
            </div>
        </div>
    </div>
{% endblock %}

