Skip to content

Commit

Permalink
single include for old ads callout
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jul 26, 2013
1 parent 2a4a6fe commit ac4e7db
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
7 changes: 0 additions & 7 deletions _includes/nav-main.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 8 additions & 0 deletions _includes/old-bs-docs.html
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 3 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
3 changes: 3 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
9 changes: 0 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@
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">

Expand Down

0 comments on commit ac4e7db

Please sign in to comment.