Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

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

Nick Craig-Wood1635b37ff197
diff --git a/docs/config.json b/docs/config.json
index 8ba5a98c7..10faf3f00 100644
--- a/docs/config.json
+++ b/docs/config.json
@@ -16,6 +16,7 @@
"~$",
"^\\."
],
+ "enableGitInfo": true,
"markup": {
"goldmark": {
"extensions": {
diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html
index d422ab0c7..7922ce25c 100644
--- a/docs/layouts/_default/baseof.html
+++ b/docs/layouts/_default/baseof.html
@@ -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>.