accessible.tips/themes/hugo-xmin/layouts/shortcodes/back_to_top.html

8 lines
239 B
HTML

{{ if .Page.Params.toc }}
<a class="back_to_top" href="#top">Back to ToC</a>
&nbsp;|&nbsp;
{{ else }}
<a class="back_to_top" href="#top">Back to top</a>
&nbsp;|&nbsp;
{{ end }}
<a class="back_to_top" href="#page_menu">Back to page menu</a>