accessible.tips/themes/hugo-xmin/layouts/partials/footer.html
KemoNine cf83cf1925 added git revision info to bottom
of pages (if available) ; add 'back to top' link to footer ; add shortcodes for change log ; add shortcode for back to top to be used with headings
2023-03-18 18:46:32 -04:00

15 lines
390 B
HTML

<footer>
{{ partial "foot_custom.html" . }}
{{ with .Site.Params.footer }}
<hr/>
<a href="#top">Back to top</a>
<br />{{ replace . "{Year}" now.Year | markdownify}}
{{ end }}
{{ if .GitInfo}}
<br />
Revision <a href="https://github.com/mcrosson/accessible.tips/commit/{{ .GitInfo.Hash }}" rel="noopener">{{ .GitInfo.Hash }}</a>
{{ end }}
</footer>
</body>
</html>