|
20 | 20 | <link rel="stylesheet"
|
21 | 21 | href="{{ base_url }}{{ stylesheet }}">
|
22 | 22 | {% endfor %}
|
| 23 | + <script src="https://kit.fontawesome.com/79e5369384.js" crossorigin="anonymous"></script> |
23 | 24 | </head>
|
24 | 25 | <body>
|
25 | 26 | <header>
|
26 | 27 | <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
27 |
| - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav-content" aria-controls="nav-content" aria-expanded="false" aria-label="Toggle navigation"> |
28 |
| - <span class="navbar-toggler-icon"></span> |
29 |
| - </button> |
| 28 | + <div class="container"> |
| 29 | + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav-content" aria-controls="nav-content" aria-expanded="false" aria-label="Toggle navigation"> |
| 30 | + <span class="navbar-toggler-icon"></span> |
| 31 | + </button> |
30 | 32 |
|
31 |
| - {% if static.logo %}<a class="navbar-brand" href="{{ base_url }}/"><img alt="" src="{{ base_url }}{{ static.logo }}"/></a>{% endif %} |
| 33 | + {% if static.logo %}<a class="navbar-brand" href="{{ base_url }}/"><img alt="" src="{{ base_url }}{{ static.logo }}"/></a>{% endif %} |
32 | 34 |
|
33 |
| - <div class="collapse navbar-collapse" id="nav-content"> |
34 |
| - <ul class="navbar-nav"> |
35 |
| - {% for item in navbar %} |
36 |
| - {% if not item.has_subitems %} |
37 |
| - <li class="nav-item"> |
38 |
| - <a class="nav-link" href="{% if not item.target.startswith("http") %}{{ base_url }}{% endif %}{{ item.target }}">{{ item.name }}</a> |
39 |
| - </li> |
40 |
| - {% else %} |
41 |
| - <li class="nav-item dropdown"> |
42 |
| - <a class="nav-link dropdown-toggle" |
43 |
| - data-toggle="dropdown" |
44 |
| - id="{{ item.slug }}" |
45 |
| - href="#" |
46 |
| - role="button" |
47 |
| - aria-haspopup="true" |
48 |
| - aria-expanded="false">{{ item.name }}</a> |
49 |
| - <div class="dropdown-menu" aria-labelledby="{{ item.slug }}"> |
50 |
| - {% for subitem in item.target %} |
51 |
| - <a class="dropdown-item" href="{% if not subitem.target.startswith("http") %}{{ base_url }}{% endif %}{{ subitem.target }}">{{ subitem.name }}</a> |
52 |
| - {% endfor %} |
53 |
| - </div> |
54 |
| - </li> |
55 |
| - {% endif %} |
56 |
| - {% endfor %} |
57 |
| - </ul> |
| 35 | + <div class="collapse navbar-collapse" id="nav-content"> |
| 36 | + <ul class="navbar-nav ml-auto"> |
| 37 | + {% for item in navbar %} |
| 38 | + {% if not item.has_subitems %} |
| 39 | + <li class="nav-item"> |
| 40 | + <a class="nav-link" href="{% if not item.target.startswith("http") %}{{ base_url }}{% endif %}{{ item.target }}">{{ item.name }}</a> |
| 41 | + </li> |
| 42 | + {% else %} |
| 43 | + <li class="nav-item dropdown"> |
| 44 | + <a class="nav-link dropdown-toggle" |
| 45 | + data-toggle="dropdown" |
| 46 | + id="{{ item.slug }}" |
| 47 | + href="#" |
| 48 | + role="button" |
| 49 | + aria-haspopup="true" |
| 50 | + aria-expanded="false">{{ item.name }}</a> |
| 51 | + <div class="dropdown-menu" aria-labelledby="{{ item.slug }}"> |
| 52 | + {% for subitem in item.target %} |
| 53 | + <a class="dropdown-item" href="{% if not subitem.target.startswith("http") %}{{ base_url }}{% endif %}{{ subitem.target }}">{{ subitem.name }}</a> |
| 54 | + {% endfor %} |
| 55 | + </div> |
| 56 | + </li> |
| 57 | + {% endif %} |
| 58 | + {% endfor %} |
| 59 | + </ul> |
| 60 | + </div> |
58 | 61 | </div>
|
59 | 62 | </nav>
|
60 | 63 | </header>
|
|
64 | 67 | </div>
|
65 | 68 | </main>
|
66 | 69 | <footer class="container pt-4 pt-md-5 border-top">
|
67 |
| - <p class="float-right"> |
68 |
| - <a href="#">Back to top</a> |
69 |
| - </p> |
| 70 | + <ul class="list-inline social-buttons float-right"> |
| 71 | + <li class="list-inline-item"> |
| 72 | + <a href="https://twitter.com/pandas_dev/"> |
| 73 | + <i class="fab fa-twitter"></i> |
| 74 | + </a> |
| 75 | + </li> |
| 76 | + <li class="list-inline-item"> |
| 77 | + <a href="https://github.com/pandas-dev/pandas/"> |
| 78 | + <i class="fab fa-github"></i> |
| 79 | + </a> |
| 80 | + </li> |
| 81 | + <li class="list-inline-item"> |
| 82 | + <a href="https://stackoverflow.com/questions/tagged/pandas"> |
| 83 | + <i class="fab fa-stack-overflow"></i> |
| 84 | + </a> |
| 85 | + </li> |
| 86 | + <li class="list-inline-item"> |
| 87 | + <a href="https://pandas.discourse.group"> |
| 88 | + <i class="fab fa-discourse"></i> |
| 89 | + </a> |
| 90 | + </li> |
| 91 | + </ul> |
70 | 92 | <p>
|
71 |
| - © 2009 - 2019, pandas team |
| 93 | + pandas is a fiscally sponsored project of <a href="https://numfocus.org">NumFOCUS</a> |
72 | 94 | </p>
|
73 | 95 | </footer>
|
74 | 96 |
|
|
0 commit comments