diff --git a/layouts/_partials/docs/links/commit.html b/layouts/_partials/docs/links/commit.html index 5d94b37..a20f07c 100644 --- a/layouts/_partials/docs/links/commit.html +++ b/layouts/_partials/docs/links/commit.html @@ -2,4 +2,4 @@ "Site" .Site "Page" .Page "GitInfo" .GitInfo -)) | path.Clean) -}} \ No newline at end of file +)) | urls.JoinPath) -}} \ No newline at end of file diff --git a/layouts/_partials/docs/links/edit.html b/layouts/_partials/docs/links/edit.html index cf81194..3243412 100644 --- a/layouts/_partials/docs/links/edit.html +++ b/layouts/_partials/docs/links/edit.html @@ -2,4 +2,4 @@ "Site" .Site "Page" .Page "Path" (strings.TrimPrefix hugo.WorkingDir .Page.File.Filename) -)) | path.Clean) -}} \ No newline at end of file +)) | urls.JoinPath) -}} \ No newline at end of file