git: eb27df3bf1 - main - Remove index.html from the side menu in online mode

From: Sergio Carlavilla Delgado <carlavilla_at_FreeBSD.org>
Date: Sun, 30 Jan 2022 10:52:53 UTC
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=eb27df3bf16751a1dcb13608992fed1188b4fb59

commit eb27df3bf16751a1dcb13608992fed1188b4fb59
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2022-01-30 10:52:00 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2022-01-30 10:52:42 +0000

    Remove index.html from the side menu in online mode
    
    Submitted by:   avg@
---
 documentation/themes/beastie/layouts/partials/menu.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/themes/beastie/layouts/partials/menu.html b/documentation/themes/beastie/layouts/partials/menu.html
index 7d82aac764..1b3ddf3b7d 100644
--- a/documentation/themes/beastie/layouts/partials/menu.html
+++ b/documentation/themes/beastie/layouts/partials/menu.html
@@ -12,7 +12,7 @@
           <label {{ if gt (len $toc) 0 }} class="icon cursor" {{ end }} for="chapter-{{ md5 .Page }}"><a role="button"></a></label>
 
           {{ if $.Site.Params.isOnline }}
-            {{ $finalPath := printf "%s%s" .Page.Permalink "index.html/#" }}
+            {{ $finalPath := printf "%s%s" .Page.Permalink "#" }}
             <a href="{{ .Page.Permalink }}">
               {{ .Page.Title }}
             </a>