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:
-rw-r--r--layouts/partials/prevnext.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layouts/partials/prevnext.html b/layouts/partials/prevnext.html
new file mode 100644
index 0000000..dc8fef3
--- /dev/null
+++ b/layouts/partials/prevnext.html
@@ -0,0 +1,24 @@
+<p class="mb-1 mt-1 text-left">
+ {{ if .PrevInSection }}
+ <a
+ href="{{ .PrevInSection.Permalink | relURL }}"
+ title="{{ .PrevInSection.Title }}"
+ >
+ <i class="navMenu fas fa-chevron-circle-right"></i>
+ </a>
+ {{ else }}
+ <i class="navMenu-disabled fas fa-chevron-circle-right"></i>
+ {{ end }}
+</p>
+<p class="mb-1 mt-1 text-left">
+ {{ if .NextInSection }}
+ <a
+ href="{{ .NextInSection.Permalink | relURL }}"
+ title="{{ .NextInSection.Title }}"
+ >
+ <i class="navMenu fas fa-chevron-circle-left"></i>
+ </a>
+ {{ else }}
+ <i class="navMenu-disabled fas fa-chevron-circle-left"></i>
+ {{ end }}
+</p>