diff options
| author | Mark Otto <[email protected]> | 2015-06-13 14:05:25 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-06-13 14:05:25 -0700 |
| commit | e615ae053c816fa477d158562e20ecaf2609128d (patch) | |
| tree | ac3f31f94e9dd82a2fd51af185aa66ad68e0a24a /docs/_includes | |
| parent | ea803e55ffed3e75d1049b14e448c05235229f94 (diff) | |
| download | bootstrap-e615ae053c816fa477d158562e20ecaf2609128d.tar.xz bootstrap-e615ae053c816fa477d158562e20ecaf2609128d.zip | |
overhaul nav and shit again
- drop the index pages save for examples
- comment out the extend section for now
- fix up spacing fix on team list
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/nav-docs.html | 6 | ||||
| -rw-r--r-- | docs/_includes/nav-home.html | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html index 166117315..e87c182da 100644 --- a/docs/_includes/nav-docs.html +++ b/docs/_includes/nav-docs.html @@ -23,7 +23,11 @@ {% endif %} <div class="bd-toc-item {{ active }}"> - <a class="bd-toc-link" href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/"> + {% if slug == "examples" %} + <a class="bd-toc-link" href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/"> + {% else %} + <a class="bd-toc-link" href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}"> + {% endif %} {{ group.title }} </a> diff --git a/docs/_includes/nav-home.html b/docs/_includes/nav-home.html index 084746d10..2cc5820c3 100644 --- a/docs/_includes/nav-home.html +++ b/docs/_includes/nav-home.html @@ -2,7 +2,7 @@ <a class="bd-header-mark hidden-xs-down" href="{{ site.baseurl }}">Bootstrap 4 Alpha</a> <nav class="nav nav-pills bd-header-nav"> - <a class="nav-link" href="{{ site.baseurl }}/getting-started/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a> + <a class="nav-link" href="{{ site.baseurl }}/getting-started/overview/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Documentation</a> <a class="nav-link" href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a> <a class="nav-link" href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a> </nav> |
