{{ define "main" }}

<div class="navig">
    {{ with .NextInSection }} <!-- Prev & Next are switched in this version of Hugo -->
    <a href="{{ .Permalink }}" id="prev">&lt; {{ .Title }}</a>
    {{ else }}
    <a href="#" id="prev"></a>
    {{ end }}
    {{ with .PrevInSection }}
    <a href="{{ .Permalink }}" id="next">{{ .Title }} &gt;</a>
    {{ else }}
    <a href="#" id="prev"></a>
    {{ end }}
</div>

<div id="content-text">
<h1>{{ .Title }}</h1>
{{ .Content }}
</div>

<div class="navig">
    {{ with .NextInSection }} <!-- Prev & Next are switched in this version of Hugo -->
    <a href="{{ .Permalink }}" id="prev">&lt; {{ .Title }}</a>
    {{ else }}
    <a href="#" id="prev"></a>
    {{ end }}
    {{ with .PrevInSection }}
    <a href="{{ .Permalink }}" id="next">{{ .Title }} &gt;</a>
    {{ else }}
    <a href="#" id="prev"></a>
    {{ end }}
</div>

<script defer src="/js/prism.js"></script>
{{ end }}