Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/darshanbaral/kitab.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/previousChapter.html')
-rw-r--r--layouts/partials/previousChapter.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/previousChapter.html b/layouts/partials/previousChapter.html
new file mode 100644
index 0000000..de0e7ec
--- /dev/null
+++ b/layouts/partials/previousChapter.html
@@ -0,0 +1,10 @@
+{{ if .NextInSection }}
+<div>
+ <a
+ href="{{ .NextInSection.Permalink | relURL }}"
+ title="{{ .NextInSection.Title }}"
+ >
+ &lt; Previous Chapter
+ </a>
+</div>
+{{ end }}