Skip to content

Commit c95150c

Browse files
committed
updated cc search item in top navigation
1 parent cb9c138 commit c95150c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

themes/vocabulary_theme/templates/layout.html

+10-4
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,16 @@
119119
{% endfor %}
120120
</div>
121121
</div>
122-
<a class="navbar-item {% if this.is_child_of('/cc-search') %} is-active{% endif%}"
123-
href="{{ '/cc-search'|url }}">
124-
CC Search
125-
</a>
122+
<div class="navbar-item has-dropdown is-hoverable">
123+
<a class="navbar-link is-arrowless {% if this.is_child_of('/cc-search') %} is-active{% endif%}">
124+
CC Search<i class="icon caret-down"></i></a>
125+
<div class="navbar-dropdown">
126+
{% for href, title in [ ['/cc-search', 'Overview & Roadmap'],
127+
['/cc-search/contribution-guide', 'Contribution Guide'], ] %}
128+
<a class="navbar-item" href="{{ href|url }}">{{ title }}</a>
129+
{% endfor %}
130+
</div>
131+
</div>
126132
<div class="navbar-item has-dropdown is-hoverable">
127133
<a class="navbar-link is-arrowless {% if this.is_child_of('/archives') %} is-active{% endif%}">Archives<i
128134
class="icon caret-down"></i></a>

0 commit comments

Comments
 (0)