mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-10 22:24:19 +01:00
23 lines
1.0 KiB
HTML
23 lines
1.0 KiB
HTML
<header class="navbar navbar-inverse navbar-static-top bs-docs-nav" id="top" role="banner">
|
|
<a href="../" class="navbar-brand">Bootstrap</a>
|
|
<ul class="nav nav-pills pull-left">
|
|
{% for group in site.data.nav %}
|
|
{% assign link = group.pages | first %}
|
|
{% assign slug = group.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' %}
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{{ site.baseurl }}{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}">
|
|
{{ group.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<ul class="nav nav-pills pull-right">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a>
|
|
</li>
|
|
</ul>
|
|
</header>
|