Files
hugo-book/layouts/_partials/docs/links/edit.html
2025-08-04 13:07:05 +02:00

5 lines
216 B
HTML

{{- return (partial "docs/text/template" (dict "Template" .Site.Params.BookEditLink "Context" (dict
"Site" .Site
"Page" .Page
"Path" (strings.TrimPrefix hugo.WorkingDir .Page.File.Filename)
)) | path.Clean) -}}