Skip to content

Commit 3126107

Browse files
authored
Merge pull request scala#2359 from bishabosha/remove-contribute
2 parents 03460b3 + 8c3c443 commit 3126107

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

_data/nav-header.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
- title: Documentation
22
url: "/"
3-
can-highlight: true
43
- title: Download
54
url: https://www.scala-lang.org/download/
6-
can-highlight: true
75
- title: Community
86
url: https://www.scala-lang.org/community/
9-
can-highlight: true
107
- title: Libraries
118
url: https://index.scala-lang.org
12-
can-highlight: true
13-
- title: Contribute
14-
url: /contribute/
159
- title: Blog
1610
url: https://www.scala-lang.org/blog/
17-
can-highlight: true

_includes/site-header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ul class="navigation-menu">
1111
{% for navItem in site.data.nav-header %}
1212
<li class="navigation-menu-item">
13-
<a href="{% if navItem.url contains '://' %}{{navItem.url}}{% else %}{{site.baseurl}}{{navItem.url}}{% endif %}" {% if page.url contains navItem.url and navItem.can-highlight %} class="active"{% endif %}>{{navItem.title}}</a>
13+
<a href="{% if navItem.url contains '://' %}{{navItem.url}}{% else %}{{site.baseurl}}{{navItem.url}}{% endif %}" {% if page.url contains navItem.url %} class="active"{% endif %}>{{navItem.title}}</a>
1414
</li>
1515
{% endfor %}
1616
</ul>

0 commit comments

Comments
 (0)