From 02ba1afcee72ebebe0f11cb977ee0275e8d20e68 Mon Sep 17 00:00:00 2001 From: MGreis Date: Wed, 3 Jul 2024 15:55:47 +0200 Subject: [PATCH] fix: Fixed edit page support for multilang books fixes #629 --- layouts/partials/docs/footer.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html index a466b6d..607f2aa 100644 --- a/layouts/partials/docs/footer.html +++ b/layouts/partials/docs/footer.html @@ -13,7 +13,8 @@ {{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
- + {{- $bookFilePath := (strings.TrimPrefix hugo.WorkingDir .Page.File.Filename | path.Join) -}} + {{ i18n "Edit this page" }}