#414, Move commit and edit links to separate pertials to allow overwrites

This commit is contained in:
Alex Shpak
2024-10-02 23:16:25 +02:00
parent a424a062ca
commit 3f56e60b6d
5 changed files with 8 additions and 6 deletions
+2
View File
@@ -0,0 +1,2 @@
{{- $bookFilePath := (strings.TrimPrefix hugo.WorkingDir .Page.File.Filename | path.Join) -}}
{{- .Site.Params.BookRepo }}/{{ .Site.Params.BookEditPath }}{{ ($bookFilePath) -}}