diff options
| author | Mark Otto <[email protected]> | 2013-07-25 20:56:44 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-25 20:56:44 -0700 |
| commit | ac4e7db17f3999a3b4e8625b47dda1d186b19330 (patch) | |
| tree | c699adda104aaf07d8bec298295e218fa76af0f2 | |
| parent | 2a4a6fe0f003540360a3389d9faee677cf42aaa2 (diff) | |
| download | bootstrap-ac4e7db17f3999a3b4e8625b47dda1d186b19330.tar.xz bootstrap-ac4e7db17f3999a3b4e8625b47dda1d186b19330.zip | |
single include for old ads callout
| -rw-r--r-- | _includes/nav-main.html | 7 | ||||
| -rw-r--r-- | _includes/old-bs-docs.html | 8 | ||||
| -rw-r--r-- | _layouts/default.html | 3 | ||||
| -rw-r--r-- | _layouts/home.html | 3 | ||||
| -rw-r--r-- | index.html | 9 |
5 files changed, 14 insertions, 16 deletions
diff --git a/_includes/nav-main.html b/_includes/nav-main.html index 40244d3a2..fceeb7a86 100644 --- a/_includes/nav-main.html +++ b/_includes/nav-main.html @@ -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> diff --git a/_includes/old-bs-docs.html b/_includes/old-bs-docs.html new file mode 100644 index 000000000..a33cad70c --- /dev/null +++ b/_includes/old-bs-docs.html @@ -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> diff --git a/_layouts/default.html b/_layouts/default.html index bf8483638..19388fbf0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -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"> diff --git a/_layouts/home.html b/_layouts/home.html index 9230184dc..d02728957 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -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 }} diff --git a/index.html b/index.html index 43a6db631..cb85c09ad 100644 --- a/index.html +++ b/index.html @@ -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"> |
