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

github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/page-footer.html')
-rw-r--r--layouts/partials/page-footer.html20
1 files changed, 17 insertions, 3 deletions
diff --git a/layouts/partials/page-footer.html b/layouts/partials/page-footer.html
index 5d7b0f9..4a56555 100644
--- a/layouts/partials/page-footer.html
+++ b/layouts/partials/page-footer.html
@@ -1,5 +1,5 @@
<hr class="double-line" />
-<div class="flex flex-wrap justify-between pb-2 font-serif">
+<div class="flex flex-wrap justify-between pb-2 leading-loose font-serif">
{{with .Site.RegularPages.Prev . }}
<a class="flex-grow-0" href="{{.RelPermalink}}">
<svg class="fill-current inline-block h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24"
@@ -19,9 +19,23 @@
{{end}}
</div>
<div >
- {{- partial "menu-contextual.html" . -}}
+{{ $related := .Site.RegularPages.Related . | first 15 }}
+{{ $count := len $related }}
+{{ with $related }}
+<div class="font-serif pb-2 flex align-start leading-loose">
+ <span class="heading pr-6 leading-loose">Related</span>
+ <span >
+ {{ range $k, $v := . }}
+ <a href="{{ $v.RelPermalink }}">
+ {{- $v.Title -}}
+ </a>{{ if lt $k (sub $count 1) }}&nbsp;&nbsp;&#47;&nbsp;{{end}}
+ {{ end }}
+</span>
+</div>
+{{ end }}
</div>
<hr />
<div class="pb-2">
{{ template "_internal/disqus.html" . }}
-</div> \ No newline at end of file
+</div>
+<hr /> \ No newline at end of file