|
31 | 31 |
|
32 | 32 | <div class="collapse navbar-collapse" id="navbarSupportedContent">
|
33 | 33 | <ul class="navbar-nav">
|
34 |
| - <li class="nav-item{% if this._path == '/' %} active{% endif%}"> |
35 |
| - <a class="nav-link" href="{{ '/'|url }}">Home</a> |
| 34 | + <li class="nav-item{% if this.is_child_of('/blog') %} active{% endif%}"> |
| 35 | + <a class="nav-link" href="{{ '/blog'|url }}">Blog</a> |
36 | 36 | </li>
|
37 | 37 | <li class="nav-item dropdown {% if this.is_child_of('/contributing-code') %} active{% endif%}">
|
38 |
| - <a class="nav-link" href="#" id="navbarContributingCodeDropdown" role="button">Contributing Code</a> |
| 38 | + <a class="nav-link" href="#" id="navbarContributingCodeDropdown" role="button">Contribute</a> |
39 | 39 | <div class="dropdown-menu" aria-labelledby="navbarContributingCodeDropdown">
|
40 | 40 | {% for href, title in [
|
41 |
| - ['/contributing-code', 'Overview'], |
| 41 | + ['/contributing-code', 'Contribution Guidelines'], |
| 42 | + ['/contributing-code/projects', 'Project List'], |
42 | 43 | ['/contributing-code/pr-guidelines', 'Pull Request Guidelines'],
|
43 | 44 | ['/contributing-code/github-repo-guidelines', 'GitHub Repo Guidelines'],
|
44 | 45 | ] %}
|
45 | 46 | <a class="dropdown-item" href="{{ href|url }}">{{ title }}</a>
|
46 | 47 | {% endfor %}
|
47 | 48 | </div>
|
48 | 49 | </li>
|
49 |
| - {% for href, title in [ |
50 |
| - ['/projects', 'Projects'], |
51 |
| - ['/blog', 'Blog'] |
52 |
| - ] %} |
53 |
| - <li class="nav-item{% if this.is_child_of(href) %} active{% endif%}"> |
54 |
| - <a class="nav-link" href="{{ href|url }}">{{ title }}</a> |
55 |
| - </li> |
56 |
| - {% endfor %} |
57 | 50 | <li class="nav-item dropdown {% if this.is_child_of('/community') %} active{% endif%}">
|
58 | 51 | <a class="nav-link" href="#" id="navbarCommunityDropdown" role="button">Community</a>
|
59 | 52 | <div class="dropdown-menu" aria-labelledby="navbarCommunityDropdown">
|
|
67 | 60 | {% endfor %}
|
68 | 61 | </div>
|
69 | 62 | </li>
|
70 |
| - <li class="nav-item{% if this.is_child_of('/programs/outreachy/') %} active{% endif%}"> |
71 |
| - <a class="nav-link" href="{{ '/programs/outreachy/2019-12-start'|url }}">Outreachy</a> |
72 |
| - </li> |
73 | 63 | <li class="nav-item dropdown {% if this.is_child_of('/archives') %} active{% endif%}">
|
74 | 64 | <a class="nav-link" href="#" id="navbarArchivesDropdown" role="button">Archives</a>
|
75 | 65 | <div class="dropdown-menu" aria-labelledby="navbarArchivesDropdown">
|
76 | 66 | {% for href, title in [
|
| 67 | + ['/programs/outreachy/2019-12-start', 'Outreachy (Dec 2019)'], |
77 | 68 | ['/gsoc-2019', 'GSoC 2019'],
|
78 | 69 | ['/archives/old-tech-blog', 'CC Tech Blog (2007-2014)'],
|
79 | 70 | ['https://lists.ibiblio.org/pipermail/cc-devel/', 'cc-devel mailing list (2005-2015)'],
|
|
83 | 74 | </div>
|
84 | 75 | </li>
|
85 | 76 | <li class="nav-item">
|
86 |
| - <a class="nav-link" href="https://creativecommons.org" target="_blank">CC</a> |
| 77 | + <a class="nav-link" href="https://creativecommons.org" target="_blank">CC.org</a> |
87 | 78 | </li>
|
88 | 79 | </ul>
|
89 | 80 | </nav>
|
|
0 commit comments