Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2022 10:52:53 GMT
From:      Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: eb27df3bf1 - main - Remove index.html from the side menu in online mode
Message-ID:  <202201301052.20UAqrm4041757@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201301052.20UAqrm4041757>