diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-04-23 01:19:27 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2024-04-23 01:19:27 +0700 |
commit | 40f57ed72a601d8489a180f3bd9acd5e6c20d323 (patch) | |
tree | 6dd84fffd42e809f5123333deb8bb1a366a97cfc /layouts/_default/single.html | |
parent | 2cff39c15ffb512f87ed5f8a2f71603e9ff2d4c7 (diff) | |
download | blog-40f57ed72a601d8489a180f3bd9acd5e6c20d323.tar.gz |
Update theme
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 }} |