lyceum-site/themes/hugo-book/layouts/partials/docs/links/edit.html
2024-10-04 00:08:11 +02:00

2 lines
No EOL
176 B
HTML

{{- $bookFilePath := (strings.TrimPrefix hugo.WorkingDir .Page.File.Filename | path.Join) -}}
{{- .Site.Params.BookRepo }}/{{ .Site.Params.BookEditPath }}{{ ($bookFilePath) -}}