|
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 |
| - <header> |
13 |
| - <nav class="navbar navbar-expand-md navbar-dark"> |
14 |
| - {% set cc_logo = site.get('/').attachments.get('cclogo.svg') %} |
15 |
| - <a class="navbar-brand" href="#"><img src="{{ cc_logo|url }}"></a> |
16 |
| - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" |
17 |
| - aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> |
18 |
| - <span class="navbar-toggler-icon"></span> |
19 |
| - </button> |
20 |
| - |
21 |
| - <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
22 |
| - <ul class="navbar-nav"> |
23 |
| - <li class="nav-item{% if this._path == '/' %} active{% endif |
24 |
| - %}"><a class="nav-link" href="{{ '/'|url }}">Home</a></li> |
25 |
| - {% for href, title in [ |
26 |
| - ['/projects', 'Projects'], |
27 |
| - ['/community', 'Community'], |
28 |
| - ] %} |
29 |
| - <li class="nav-item{% if this.is_child_of(href) %} active{% endif%}"> |
30 |
| - <a class="nav-link" href="{{ href|url }}">{{ title }}</a> |
31 |
| - </li> |
32 |
| - {% endfor %} |
33 |
| - <li class="nav-item dropdown {% if this.is_child_of('/gsoc-2019') %} active{% endif%}"> |
34 |
| - <a class="nav-link" href="/gsoc-2019/" id="navbarDropdown" role="button">Google Summer of Code 2019</a> |
35 |
| - <div class="dropdown-menu" aria-labelledby="navbarDropdown"> |
36 |
| - {% for href, title in [ |
37 |
| - ['/gsoc-2019/project-ideas/all', 'Project Ideas'], |
38 |
| - ['/gsoc-2019/application-instructions', 'Application Instructions'], |
39 |
| - ] %} |
40 |
| - <a class="dropdown-item" href="{{ href|url }}">{{ title }}</a> |
41 |
| - {% endfor %} |
42 |
| - <!-- <a class="dropdown-item" href="#">Action</a> --> |
| 12 | + <header class="main-header"> |
| 13 | + <div class="container"> |
| 14 | + <div class="row"> |
| 15 | + <div class="col-sm"> |
| 16 | + <nav class="navbar navbar-expand-md navbar-dark"> |
| 17 | + {% set cc_logo = site.get('/').attachments.get('cclogo.svg') %} |
| 18 | + <a class="navbar-brand" href="#"><img src="{{ cc_logo|url }}"></a> |
| 19 | + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" |
| 20 | + aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> |
| 21 | + <span class="navbar-toggler-icon"></span> |
| 22 | + </button> |
| 23 | + |
| 24 | + <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
| 25 | + <ul class="navbar-nav"> |
| 26 | + <li class="nav-item{% if this._path == '/' %} active{% endif |
| 27 | + %}"><a class="nav-link" href="{{ '/'|url }}">Home</a></li> |
| 28 | + {% for href, title in [ |
| 29 | + ['/projects', 'Projects'], |
| 30 | + ['/community', 'Community'], |
| 31 | + ] %} |
| 32 | + <li class="nav-item{% if this.is_child_of(href) %} active{% endif%}"> |
| 33 | + <a class="nav-link" href="{{ href|url }}">{{ title }}</a> |
| 34 | + </li> |
| 35 | + {% endfor %} |
| 36 | + <li class="nav-item dropdown {% if this.is_child_of('/gsoc-2019') %} active{% endif%}"> |
| 37 | + <a class="nav-link" href="/gsoc-2019/" id="navbarDropdown" role="button">Google Summer of Code 2019</a> |
| 38 | + <div class="dropdown-menu" aria-labelledby="navbarDropdown"> |
| 39 | + {% for href, title in [ |
| 40 | + ['/gsoc-2019/project-ideas/all', 'Project Ideas'], |
| 41 | + ['/gsoc-2019/application-instructions', 'Application Instructions'], |
| 42 | + ] %} |
| 43 | + <a class="dropdown-item" href="{{ href|url }}">{{ title }}</a> |
| 44 | + {% endfor %} |
| 45 | + <!-- <a class="dropdown-item" href="#">Action</a> --> |
| 46 | + </div> |
| 47 | + </li> |
| 48 | + </ul> |
43 | 49 | </div>
|
44 |
| - </li> |
45 |
| - </ul> |
| 50 | + </nav> |
| 51 | + </div> |
46 | 52 | </div>
|
47 |
| - </nav> |
| 53 | + </div> |
48 | 54 | </header>
|
49 | 55 | <div class="container-fluid page-content">
|
50 | 56 | <div class="row justify-content-md-center">
|
|
0 commit comments