diff options
| author | Mark Otto <[email protected]> | 2015-01-19 18:51:21 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-01-19 18:51:21 -0800 |
| commit | ff1d10affb94f6c44a06d19c701bdd0523e746c4 (patch) | |
| tree | 01315faf8f6fe61b75d0a9c119284acaad8256d5 /docs/_includes | |
| parent | 6f61201f870d39cd7adc23ccfea00895315039f9 (diff) | |
| download | bootstrap-ff1d10affb94f6c44a06d19c701bdd0523e746c4.tar.xz bootstrap-ff1d10affb94f6c44a06d19c701bdd0523e746c4.zip | |
fix scrollspy nav
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/nav-docs.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html index 6b3564cd9..0e8431b50 100644 --- a/docs/_includes/nav-docs.html +++ b/docs/_includes/nav-docs.html @@ -28,7 +28,7 @@ {% assign active = nil %} {% if page.url contains slug %} - {% assign active = 'active' %} + {% assign active = 'active bs-docs-sidenav-active' %} {% endif %} <li class="{{ active }}"> @@ -40,7 +40,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="#{{ section.title | downcase | replace: ' ', '-' }}"> {{ section.title }} </a> </li> |
