diff --git a/themes/hugo-xmin/layouts/partials/footer.html b/themes/hugo-xmin/layouts/partials/footer.html index ff31be2..a123cf6 100644 --- a/themes/hugo-xmin/layouts/partials/footer.html +++ b/themes/hugo-xmin/layouts/partials/footer.html @@ -23,7 +23,7 @@ {{ if $.Scratch.Get "has_related" }}  | Back to related pages {{ end }} - +  | Back to page menu  | Back to site menu {{ with .Site.Params.footer }} diff --git a/themes/hugo-xmin/layouts/partials/page_meta.html b/themes/hugo-xmin/layouts/partials/page_meta.html index 6ec30a3..8e8d478 100644 --- a/themes/hugo-xmin/layouts/partials/page_meta.html +++ b/themes/hugo-xmin/layouts/partials/page_meta.html @@ -1,9 +1,29 @@
- {{ if .Params.toc }} + + + + {{ if .Page.Params.toc }} Jump to ToC {{ else }} Jump to content {{ end }} + + {{ with .Page.Params.categories }} +  | Jump to categories + {{ end }} + + {{ with .Page.Params.tags }} +  | Jump to tags + {{ end }} + + {{ range first 1 (where (where .Site.Pages ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }} + {{ $.Scratch.Set "has_related" true }} + {{ end }} + {{ if $.Scratch.Get "has_related" }} +  | Jump to related pages + {{ end }} + +

{{ .Title | markdownify }}

{{ with .Params.author }}

By: diff --git a/themes/hugo-xmin/layouts/shortcodes/back_to_top.html b/themes/hugo-xmin/layouts/shortcodes/back_to_top.html index ce78536..90eef40 100644 --- a/themes/hugo-xmin/layouts/shortcodes/back_to_top.html +++ b/themes/hugo-xmin/layouts/shortcodes/back_to_top.html @@ -1,5 +1,8 @@ {{ if .Page.Params.toc }} Back to ToC + |  {{ else }} Back to top + |  {{ end }} +Back to page menu \ No newline at end of file diff --git a/themes/hugo-xmin/layouts/shortcodes/end_section.html b/themes/hugo-xmin/layouts/shortcodes/end_section.html index 34a7d4e..eb0790a 100644 --- a/themes/hugo-xmin/layouts/shortcodes/end_section.html +++ b/themes/hugo-xmin/layouts/shortcodes/end_section.html @@ -1,6 +1,9 @@ {{ if .Page.Params.toc }} Back to ToC + |  {{ else }} Back to top + |  {{ end }} +Back to page menu