From ab85b06c84fc1462a68c55d9c182beb0a236b130 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 15 Apr 2019 19:14:59 +0200 Subject: add prev/next post links --- layouts/posts/single.html | 61 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 layouts/posts/single.html (limited to 'layouts/posts') diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..c9e4926 --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,61 @@ +{{ define "title" }} + {{ .Title }} ยท {{ .Site.Title }} +{{ end }} +{{ define "content" }} +
+
+
+
+

{{ .Title }}

+
+ +
+ +
+ {{ .Content }} + + + {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories" . }}{{ end }} + {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }} +
+ + +
+ + {{ partial "posts/math" . }} +
+{{ end }} -- cgit v1.2.3