diff --git a/_includes/nav-main.html b/_includes/nav-main.html index 40244d3a240d86b83bcac0ff0ce3551f7ce9ef4e..fceeb7a869bd96173777aa76b6f0dbb4ecd6049b 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 0000000000000000000000000000000000000000..a33cad70c67131eb0140060ce551337434036d6b --- /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 bf84836384dc7e6c3d340b1474b691e4efe5cfa6..19388fbf04a54986dd8135931180d1f71d068e5b 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 9230184dc7d47c673fc945a24eb1c655087c562f..d0272895780644fc001203539907bcf6b903cee6 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 43a6db631e6ab348136f263207e5e0c22950beb3..cb85c09ad6d9ea0d7dda89331a1df4b7e5ff2ef6 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">