]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix broken Examples link in the docs footer include – `footer.html`. (#23348)
authorSteven Black <steveb@stevenblack.com>
Sat, 12 Aug 2017 16:35:19 +0000 (12:35 -0400)
committerXhmikosR <xhmikosr@gmail.com>
Sat, 12 Aug 2017 16:35:19 +0000 (19:35 +0300)
Re:  #23343 – **Broken Links on getbootstrap.com**

Clicking the `Examples` link in the Docs footer yields 404.

  http://getbootstrap.com/examples/

If merged, this makes the footer `Examples` link like the one in docs-navbar.html which is the same folder.

Therefore `_includes/footer.html` and `_includes/docs-navbar.html` now use the same link to `Examples`.

_includes/footer.html

index 8efcab974f3a16c2ff843cfb5f04694b8acd2683..1f9b44c7b8547cd1e02bb9b96c97255c011bef35 100644 (file)
@@ -3,7 +3,7 @@
     <ul class="bd-footer-links">
       <li><a href="{{ site.repo }}">GitHub</a></li>
       <li><a href="https://twitter.com/getbootstrap">Twitter</a></li>
-      <li><a href="{{ site.baseurl }}/examples/">Examples</a></li>
+      <li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/">Examples</a></li>
       <li><a href="{{ site.baseurl }}/about/">About</a></li>
     </ul>
     <p>Designed and built with all the love in the world by <a href="https://twitter.com/mdo" target="_blank" rel="noopener">@mdo</a> and <a href="https://twitter.com/fat" target="_blank" rel="noopener">@fat</a>. Maintained by the <a href="https://github.com/orgs/twbs/people">core team</a> with the help of <a href="https://github.com/twbs/bootstrap/graphs/contributors">our contributors</a>.</p>