summaryrefslogtreecommitdiff
path: root/themes/hugo-book/layouts/_partials/docs/post-prev-next.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-book/layouts/_partials/docs/post-prev-next.html')
-rw-r--r--themes/hugo-book/layouts/_partials/docs/post-prev-next.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/hugo-book/layouts/_partials/docs/post-prev-next.html b/themes/hugo-book/layouts/_partials/docs/post-prev-next.html
new file mode 100644
index 0000000..d7192c0
--- /dev/null
+++ b/themes/hugo-book/layouts/_partials/docs/post-prev-next.html
@@ -0,0 +1,18 @@
+<div class="flex flex-wrap justify-between">
+ <span>
+ {{ with .NextInSection }}
+ <a href="{{ .RelPermalink }}" class="flex align-center">
+ <img src="{{ "svg/backward.svg" | relURL }}" class="book-icon" alt="Previous" title="{{ partial "docs/title" . }}" />
+ <span>{{ partial "docs/title" . }}</span>
+ </a>
+ {{ end }}
+ </span>
+ <span>
+ {{ with .PrevInSection }}
+ <a href="{{ .RelPermalink }}" class="flex align-center">
+ <span>{{ partial "docs/title" . }}</span>
+ <img src="{{ "svg/forward.svg" | relURL }}" class="book-icon" alt="Next" title="{{ partial "docs/title" . }}" />
+ </a>
+ {{ end }}
+ </span>
+</div> \ No newline at end of file
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.