This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sis-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 9a326482 Fix highlight on the "Home" page.
9a326482 is described below

commit 9a326482c7b83ee684a350f22b21532f4e1ec400
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Thu Jan 22 18:10:47 2026 +0100

    Fix highlight on the "Home" page.
---
 layouts/_default/baseof.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 0e3a4a3b..d0050249 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -37,7 +37,7 @@
     <div class="main-section">
       <nav class="left-bar">
         <ul class="nav-pills">
-          <li><a class="nav-link {{ if eq .Page.RelPermalink "/" }} active {{ 
else }} inactive {{ end }}" href="/index.html">Home</a></li>
+          <li><a class="nav-link {{ if eq .Page.RelPermalink "/index.html" }} 
active {{ else }} inactive {{ end }}" href="/index.html">Home</a></li>
           <li><a class="nav-link {{ if eq .Page.RelPermalink "/about.html" }} 
active {{ else }} inactive {{ end }}" href="/about.html">About</a></li>
           <li><a class="nav-link {{ if eq .Page.RelPermalink "/downloads.html" 
}} active {{ else }} inactive {{ end }}" 
href="/downloads.html">Downloads</a></li>
           <li><a class="nav-link {{ if strings.Contains .Page.RelPermalink 
"/howto" }} active {{ else }} inactive {{ end }}" href="/howto/index.html">How 
to…</a></li>

Reply via email to