{{ template "base.html" . }}

{{ define "content" }}
    <h1>{{ .Title }}</h1>
    {{ if .User.IsEduAuthor }}
        <div class="mb3">
            <a href="{{ .EditUrl }}" title="Edit">&#9998; Edit</a>
            <a href="{{ .DeleteUrl }}" title="Delete">&#10006; Delete</a>
        </div>
    {{ end }}
    <div class="flex">
        <div class="flex-grow-1 post-content">
            {{ .Article.Content }}
        </div>
        <div class="ml3 flex-shrink-0 w5">
            I'm a sidebar!
        </div>
    </div>
{{ end }}
