From 3b20335d2a30ac05f27861d74e6236583218f8ad Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 2 Jun 2020 12:09:45 +0100 Subject: [PATCH] docs: remove leading slash in page reference in footer when present --- docs/layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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