|
9 | 9 | <script type="text/javascript" src="{{ '/static/script.js'|url }}"></script>
|
10 | 10 | <title>{% block title %}Welcome{% endblock %} — Creative Commons on GitHub</title>
|
11 | 11 | <body>
|
| 12 | +<<<<<<< Updated upstream |
12 | 13 | <header class="main-header">
|
13 | 14 | <div class="container">
|
14 | 15 | <div class="row">
|
|
46 | 47 | </div>
|
47 | 48 | </li>
|
48 | 49 | </ul>
|
| 50 | +======= |
| 51 | + <header> |
| 52 | + <nav class="navbar navbar-expand-md navbar-dark"> |
| 53 | + {% set cc_logo = site.get('/').attachments.get('cclogo.svg') %} |
| 54 | + <a class="navbar-brand" href="#"><img src="{{ cc_logo|url }}"></a> |
| 55 | + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" |
| 56 | + aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> |
| 57 | + <span class="navbar-toggler-icon"></span> |
| 58 | + </button> |
| 59 | + |
| 60 | + <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
| 61 | + <ul class="navbar-nav"> |
| 62 | + <li class="nav-item{% if this._path == '/' %} active{% endif |
| 63 | + %}"><a class="nav-link" href="{{ '/'|url }}">Home</a></li> |
| 64 | + {% for href, title in [ |
| 65 | + ['/projects', 'Projects'], |
| 66 | + ['/community', 'Community'], |
| 67 | + ] %} |
| 68 | + <li class="nav-item{% if this.is_child_of(href) %} active{% endif%}"> |
| 69 | + <a class="nav-link" href="{{ href|url }}">{{ title }}</a> |
| 70 | + </li> |
| 71 | + {% endfor %} |
| 72 | + <li class="nav-item dropdown {% if this.is_child_of('/gsoc-2019') %} active{% endif%}"> |
| 73 | + <a class="nav-link" href="/gsoc-2019/" id="navbarDropdown" role="button">GSoC 2019</a> |
| 74 | + <div class="dropdown-menu" aria-labelledby="navbarDropdown"> |
| 75 | + {% for href, title in [ |
| 76 | + ['/gsoc-2019/project-ideas/all', 'Project Ideas'], |
| 77 | + ['/gsoc-2019/application-instructions', 'Application Instructions'], |
| 78 | + ] %} |
| 79 | + <a class="dropdown-item" href="{{ href|url }}">{{ title }}</a> |
| 80 | + {% endfor %} |
| 81 | + <!-- <a class="dropdown-item" href="#">Action</a> --> |
| 82 | +>>>>>>> Stashed changes |
49 | 83 | </div>
|
50 | 84 | </nav>
|
51 | 85 | </div>
|
|
0 commit comments