webpage/themes/hugo-book/layouts/partials/docs/links/edit.html

2 lines
176 B
HTML
Raw Normal View History

2024-11-26 22:25:09 +00:00
{{- $bookFilePath := (strings.TrimPrefix hugo.WorkingDir .Page.File.Filename | path.Join) -}}
{{- .Site.Params.BookRepo }}/{{ .Site.Params.BookEditPath }}{{ ($bookFilePath) -}}