You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marvin.apache.org by yi...@apache.org on 2018/11/28 18:25:52 UTC

[incubator-marvin-website] 09/31: Refactor community menu

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

yifeizhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-marvin-website.git

commit 61c191974272309c681a536939d854985fa99744
Author: Luciano Resende <lr...@apache.org>
AuthorDate: Mon Nov 23 16:55:40 2015 -0800

    Refactor community menu
    
    Display community members under community/who we are
    and community on community/get involved
---
 _includes/themes/apache/_navigation.html | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/_includes/themes/apache/_navigation.html b/_includes/themes/apache/_navigation.html
index 7e5a184..c63a7ec 100644
--- a/_includes/themes/apache/_navigation.html
+++ b/_includes/themes/apache/_navigation.html
@@ -13,15 +13,14 @@
           </a>
         </div>
         <nav class="navbar-collapse collapse" role="navigation">
-          <ul class="nav navbar-nav">
-            {% assign pages_list = site.pages %}
-            {% assign group = 'nav-left' %}
-            {% include JB/pages_list %}
-          </ul>
           <ul class="nav navbar-nav navbar-right">
-            {% assign pages_list = site.pages %}
-            {% assign group = 'nav-right' %}
-            {% include JB/pages_list %}
+            <li id="community">
+                <a href="#" data-toggle="dropdown" class="dropdown-toggle">Community<b class="caret"></b></a>
+                <ul class="dropdown-menu dropdown-left">
+                    <li><a href="/community.html">Get Involved</a></li>
+                    <li><a href="/community-members">Who we are</a></li>
+                </ul>
+            </li>
             <li><a href="{{ site.data.project.source_repository }}">GitHub</a></li>
             <li id="apache">
               <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
@@ -30,7 +29,7 @@
                 <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
                 <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
                 <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
-            </ul>
+                </ul>
             </li>
           </ul>
         </nav><!--/.navbar-collapse -->