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

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

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

commit eb27df3bf16751a1dcb13608992fed1188b4fb59
Author:     Sergio Carlavilla Delgado <[email protected]>
AuthorDate: 2022-01-30 10:52:00 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.