diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..c94d359 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,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 }} |