docs: Add link to source and modified time to footer of every page

This commit is contained in:
Nick Craig-Wood 2020-06-01 12:43:58 +01:00
parent 8774381e2e
commit 1635b37ff1
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@
"~$",
"^\\."
],
"enableGitInfo": true,
"markup": {
"goldmark": {
"extensions": {

View File

@ -40,6 +40,8 @@
<div class="card card-body">
<p style="font-size: 90%;">
&copy; <a href="https://www.craig-wood.com/nick/">Nick Craig-Wood</a> 2014-{{ now.Format "2006" }}<br>
{{ if .File}}Source file <a href="https://github.com/rclone/rclone/blob/master/docs/content/{{ .File.Path }}">{{ .File.Path }}</a>
last updated <a href="https://github.com/rclone/rclone/commit/{{ with .GitInfo }}{{ .Hash }}{{ end }}">{{ .Lastmod.Format "2006-01-02" }}</a><br>{{end}}
Website hosted on a <a href="https://www.memset.com/dedicated-servers/vps/"><span style="font-weight: bold; font-family: arial black, arial, sans-serif; font-style: italic;">MEMSET CLOUD VPS</span></a>,
uploaded with <a href="https://rclone.org">rclone</a>
and built with <a href="https://github.com/spf13/hugo">Hugo</a>.