diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html index 7922ce25c..c5670e720 100644 --- a/docs/layouts/_default/baseof.html +++ b/docs/layouts/_default/baseof.html @@ -40,7 +40,7 @@
© Nick Craig-Wood 2014-{{ now.Format "2006" }}
- {{ if .File}}Source file {{ .File.Path }}
+ {{ if .File}}{{ with $path := strings.TrimPrefix "/" .File.Path }}Source file {{ $path }}{{ end }}
last updated {{ .Lastmod.Format "2006-01-02" }}
{{end}}
Website hosted on a MEMSET CLOUD VPS,
uploaded with rclone