about summary refs log tree commit diff
path: root/layouts/_default/single.html
blob: c94d359bb9e0ff94fc9e7c733e79f50eda217272 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ define "main" }}
    <article class="post h-entry">
        {{ .Content }}
        {{ partial "post-info.html" . }}
    </article>
    <hr>
    <nav>
        {{with .Prev}}
        <a class="prev-link" href="{{.Permalink}}" title="{{ .Title }}">
            Previous post
        </a>
        {{end}}
        {{with .Next}}
        <a class="next-link float" href="{{.Permalink}}" title="{{ .Title }}">
            Next post
        </a>
        {{end}}
    </nav>
    <hr>
    Would you like to discuss this post?
    <a href="mailto:huyngo@disroot.org?subject=Re: {{ trim .Title " "}}">Email me!</a>
{{ end }}