mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
single include for old ads callout
This commit is contained in:
parent
2a4a6fe0f0
commit
ac4e7db17f
@ -24,13 +24,6 @@
|
||||
<a href="/customize">Customize</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% if page.layout == "default" %}
|
||||
<ul class="nav navbar-nav pull-right">
|
||||
<li>
|
||||
<a href="http://getbootstrap.com/2.3.2/">Looking for Bootstrap 2.3.2?</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
8
_includes/old-bs-docs.html
Normal file
8
_includes/old-bs-docs.html
Normal file
@ -0,0 +1,8 @@
|
||||
<div class="bs-old-docs">
|
||||
<div class="container">
|
||||
<strong>
|
||||
<a href="/2.3.2/">Looking for Bootstrap 2.3.2 docs?</a>
|
||||
</strong>
|
||||
We've moved it to a new home while we push forward with Bootstrap 3. <a href="http://blog.getbootstrap.com/">Read the blog post</a> for details.
|
||||
</div>
|
||||
</div>
|
@ -10,6 +10,9 @@
|
||||
<!-- Docs master nav -->
|
||||
{% include nav-main.html %}
|
||||
|
||||
<!-- Callout for the old docs link -->
|
||||
{% include old-bs-docs.html %}
|
||||
|
||||
<!-- Docs page layout -->
|
||||
<div class="bs-header">
|
||||
<div class="container">
|
||||
|
@ -10,6 +10,9 @@
|
||||
<!-- Docs master nav -->
|
||||
{% include nav-main.html %}
|
||||
|
||||
<!-- Callout for the old docs link -->
|
||||
{% include old-bs-docs.html %}
|
||||
|
||||
<!-- Page content of course! -->
|
||||
{{ content }}
|
||||
|
||||
|
@ -3,15 +3,6 @@ layout: home
|
||||
title: Bootstrap
|
||||
---
|
||||
|
||||
<div class="bs-old-docs">
|
||||
<div class="container">
|
||||
<strong>
|
||||
<a href="/2.3.2/">Looking for Bootstrap 2.3.2 docs?</a>
|
||||
</strong>
|
||||
We've moved it to a new home while we push forward with Bootstrap 3. <a href="http://blog.getbootstrap.com/">Read the blog post</a> for details.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="bs-masthead">
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user