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

grobmeier pushed a commit to branch jekyll
in repository https://gitbox.apache.org/repos/asf/logging-site.git

commit bf3e40174f50fed4c78a5baf8f23ed85a112d2cf
Author: Christian Grobmeier <c...@grobmeier.de>
AuthorDate: Thu Oct 12 17:35:28 2023 +0200

    generated links from navbar
---
 _includes/navbar.html | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/_includes/navbar.html b/_includes/navbar.html
index 9c1ca5c7..8534f426 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -20,13 +20,11 @@
                 <li class="dropdown">
                     <a href="#" class="dropdown-toggle" 
data-toggle="dropdown">Projects<b class="caret"></b></a>
                     <ul class="dropdown-menu">
-                        <li><a target="_blank" 
href="chainsaw/2.x/index.html">Apache chainsaw</a></li>
-                        <li><a target="_blank" href="log4cxx">Apache 
log4cxx</a></li>
-                        <li><a target="_blank" 
href="log4j/2.x/index.html">Apache log4j</a></li>
-                        <li><a target="_blank" 
href="log4j-audit/latest/index.html">Apache log4j-audit</a></li>
-                        <li><a target="_blank" 
href="log4j/kotlin/index.html">Apache log4j Kotlin API</a></li>
-                        <li><a target="_blank" 
href="log4j/scala/index.html">Apache log4j Scala API</a></li>
-                        <li><a target="_blank" href="log4net">Apache 
log4net</a></li>
+                        {% for project in site.data.projects %}
+                            {% if project.status == "active" %}
+                            <li><a 
href="{{project.url}}">{{project.name}}</a></li>
+                            {% endif %}
+                        {% endfor %}
                     </ul>
                 </li>
             </ul>
@@ -34,9 +32,11 @@
                 <li class="dropdown">
                     <a href="#" class="dropdown-toggle" 
data-toggle="dropdown">Dormant<b class="caret"></b></a>
                     <ul class="dropdown-menu">
-                        <li><a target="_blank" 
href="log4j/1.2/index.html">Apache log4j 1.x</a></li>
-                        <li><a target="_blank" 
href="log4j/extras/index.html">Apache log4j 1.x extras</a></li>
-                        <li><a target="_blank" href="log4php">Apache 
log4php</a></li>
+                        {% for project in site.data.projects %}
+                            {% if project.status == "dormant" %}
+                            <li><a 
href="{{project.url}}">{{project.name}}</a></li>
+                            {% endif %}
+                        {% endfor %}
                     </ul>
                 </li>
             </ul>

Reply via email to