mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Restore gallery page, add active nav class jankitude, auto regenerate docs on file save
This commit is contained in:
@@ -7,8 +7,11 @@
|
||||
<meta name="author" content="">
|
||||
|
||||
<title>
|
||||
{% if page.title %}{{ page.title }} · {% endif %}
|
||||
Bootstrap
|
||||
{% if page.title == "Bootstrap" %}
|
||||
{{ page.title }}
|
||||
{% else if %}
|
||||
{{ page.title }} · Bootstrap
|
||||
{% endif %}
|
||||
</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
@@ -57,24 +60,27 @@
|
||||
<a class="brand" href="/">Bootstrap</a>
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav">
|
||||
<li class="{{index}}">
|
||||
<li {% if page.title == "Bootstrap" %}class="active"{% endif %}>
|
||||
<a href="/">Home</a>
|
||||
</li>
|
||||
<li class="{{getting-started}}">
|
||||
<li {% if page.title == "Getting started" %}class="active"{% endif %}>
|
||||
<a href="/getting-started">Get started</a>
|
||||
</li>
|
||||
<li class="{{css}}">
|
||||
<li {% if page.title == "CSS" %}class="active"{% endif %}>
|
||||
<a href="/css">CSS</a>
|
||||
</li>
|
||||
<li class="{{components}}">
|
||||
<li {% if page.title == "Components" %}class="active"{% endif %}>
|
||||
<a href="/components">Components</a>
|
||||
</li>
|
||||
<li class="{{javascript}}">
|
||||
<li {% if page.title == "JavaScript plugins" %}class="active"{% endif %}>
|
||||
<a href="/javascript">JavaScript</a>
|
||||
</li>
|
||||
<li class="{{customize}}">
|
||||
<li {% if page.title == "Customize and download" %}class="active"{% endif %}>
|
||||
<a href="/customize">Customize</a>
|
||||
</li>
|
||||
<li {% if page.title == "Gallery" %}class="active"{% endif %}>
|
||||
<a href="/gallery">Gallery</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user