#753, fix url cleaning for git urls

This commit is contained in:
Alex Shpak
2025-08-09 01:02:44 +02:00
parent 47223753a2
commit 2b389f96ea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
"Site" .Site
"Page" .Page
"GitInfo" .GitInfo
)) | path.Clean) -}}
)) | urls.JoinPath) -}}
+1 -1
View File
@@ -2,4 +2,4 @@
"Site" .Site
"Page" .Page
"Path" (strings.TrimPrefix hugo.WorkingDir .Page.File.Filename)
)) | path.Clean) -}}
)) | urls.JoinPath) -}}