From f5a52e6ed124526ebd070480068e6e145af11d9a Mon Sep 17 00:00:00 2001 From: Thomas M Porter II Date: Tue, 17 Dec 2019 15:24:15 -0700 Subject: [PATCH] replacing any backslashes with forward slashes for edit file url(#116) Seems to be a Windows related thing. `.File.Path` returns a path with backslashes this adds a replace to make those forward slashes. This appears to fix #115 --- layouts/partials/docs/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html index df7ed52..99d4926 100644 --- a/layouts/partials/docs/footer.html +++ b/layouts/partials/docs/footer.html @@ -17,7 +17,7 @@ {{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
- + Edit {{ i18n "Edit this page" }}