diff options
| author | Mark Otto <[email protected]> | 2014-12-23 13:23:03 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-12-23 13:23:03 -0800 |
| commit | 0972c64e7a4aefd6303abfb693acc9f23a3f2cc8 (patch) | |
| tree | 78800a3eb27ce2321243573c0f2b427e6b5e977a | |
| parent | 491503e4ae56942eaf9024d0be0eada1bd55751e (diff) | |
| download | bootstrap-0972c64e7a4aefd6303abfb693acc9f23a3f2cc8.tar.xz bootstrap-0972c64e7a4aefd6303abfb693acc9f23a3f2cc8.zip | |
fix sidenav links
| -rw-r--r-- | docs/_includes/docs-nav.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/_includes/docs-nav.html b/docs/_includes/docs-nav.html index 0ab8cd33b..996bfd9d1 100644 --- a/docs/_includes/docs-nav.html +++ b/docs/_includes/docs-nav.html @@ -1,5 +1,5 @@ <header class="navbar navbar-static-top bs-docs-sidebar" id="top" role="banner"> - <a href="{{ site.baseurl }}" class="navbar-brand"> + <a href="{{ site.baseurl }}/" class="navbar-brand"> Bootstrap </a> {% for group in site.data.nav %} @@ -12,7 +12,7 @@ {% endif %} <div class="bs-docs-toc-item {{ active }}"> - <a class="bs-docs-toc-link" href="{{ site.baseurl }}{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}"> + <a class="bs-docs-toc-link" href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}"> {{ group.title }} </a> @@ -26,7 +26,7 @@ {% endif %} <li class="{{ active }}"> - <a href="{{ site.baseurl }}{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}"> + <a href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}"> {{ doc.title }} </a> @@ -34,7 +34,7 @@ <ul class="nav"> {% for section in doc.sections %} <li> - <a href="{{ site.baseurl }}{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}/#{{ section.title | downcase | replace: ' ', '-' }}"> + <a href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}/#{{ section.title | downcase | replace: ' ', '-' }}"> {{ section.title }} </a> </li> |
