Breaking Change: replace BookEditPath with BookLastChangeLink and BookEditLink tempaltes
This commit is contained in:
@@ -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
|
||||
)) -}}
|
||||
Reference in New Issue
Block a user