]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixed footer broken links (#23808)
authorHarish Gadiya <harishgadiya@users.noreply.github.com>
Tue, 12 Sep 2017 17:54:12 +0000 (23:24 +0530)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 12 Sep 2017 17:54:12 +0000 (20:54 +0300)
_config.yml
docs/_includes/footer.html

index 6116e559d7bcb28a7c3fb0a2586e9cc6e0da0ab7..b647b349cdc44a7bdcc396de4f84a911d3ab0be2 100644 (file)
@@ -10,6 +10,7 @@ source:           docs
 destination:      _gh_pages
 host:             0.0.0.0
 port:             9001
+baseurl:          ""
 url:              http://getbootstrap.com
 encoding:         UTF-8
 
@@ -18,6 +19,7 @@ gems:
 
 # Custom vars
 current_version:  3.3.7
+docs_version:     3.3
 repo:             https://github.com/twbs/bootstrap
 sass_repo:        https://github.com/twbs/bootstrap-sass
 
index 6a41c7d090b14471d86e810ec126eac56fcd3187..95aba9ce200d076987975d6e93d9f51c1e091fef 100644 (file)
@@ -6,8 +6,8 @@
     <ul class="bs-docs-footer-links">
       <li><a href="{{ site.repo }}">GitHub</a></li>
       <li><a href="https://twitter.com/getbootstrap">Twitter</a></li>
-      <li><a href="../getting-started/#examples">Examples</a></li>
-      <li><a href="../about/">About</a></li>
+      <li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/#examples">Examples</a></li>
+      <li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/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">@mdo</a> and <a href="https://twitter.com/fat" target="_blank">@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>