aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-09 23:12:09 -0700
committerMark Otto <[email protected]>2015-08-09 23:12:09 -0700
commit317c667d1c0d1d0984d863d9d4baad9e1a25b1c6 (patch)
tree625e0f6dd006bf4e5104baffd3c9bacc2ccf37b4 /docs/_includes
parent491cc512ad746cd8380916bbccaf38e944301913 (diff)
downloadbootstrap-317c667d1c0d1d0984d863d9d4baad9e1a25b1c6.tar.xz
bootstrap-317c667d1c0d1d0984d863d9d4baad9e1a25b1c6.zip
rewrite browser and device support
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/nav-docs.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html
index ce094fd15..649f175a7 100644
--- a/docs/_includes/nav-docs.html
+++ b/docs/_includes/nav-docs.html
@@ -26,7 +26,7 @@
<ul class="nav bd-sidenav">
{% for doc in group.pages %}
- {% assign slug = doc.title | downcase | replace: ' ', '-' %}
+ {% assign slug = doc.title | downcase | replace: ' ', '-' | replace:'-&-','-' %}
{% assign active = nil %}
{% if page.url contains slug %}
@@ -34,7 +34,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: ' ', '-' | replace:'-&-','-' }}">
{{ doc.title }}
</a>