Breaking Change: replace BookEditPath with BookLastChangeLink and BookEditLink tempaltes

This commit is contained in:
Alex Shpak
2025-08-03 21:40:26 +02:00
parent 7bd4d673cc
commit 2b0d7ffa26
8 changed files with 76 additions and 74 deletions
+5 -2
View File
@@ -1,2 +1,5 @@
{{- $commitPath := default "commit" .Site.Params.BookCommitPath -}}
{{- .Site.Params.BookRepo }}/{{ $commitPath }}/{{ .GitInfo.Hash -}}
{{- return partial "docs/text/template" (dict "Template" .Site.Params.BookLastChangeLink "Context" (dict
"Site" .Site
"Page" .Page
"GitInfo" .GitInfo
)) -}}