diff options
| author | Mark Otto <[email protected]> | 2015-09-02 00:32:37 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-09-02 00:32:37 -0700 |
| commit | d4467837b8192ab2680d9299a118af5cd3138ac7 (patch) | |
| tree | 9680511a4dd81eefde8f25cb10b556d8bd7847d1 /docs | |
| parent | 8e74675c164366c480cc68f99fed575f1d31f046 (diff) | |
| parent | 19e5cf226da5daad92df6602336e84ac9ccba528 (diff) | |
| download | bootstrap-d4467837b8192ab2680d9299a118af5cd3138ac7.tar.xz bootstrap-d4467837b8192ab2680d9299a118af5cd3138ac7.zip | |
Merge pull request #17435 from twbs/v4-dev-xmr-anchors
Fix missing anchors and 404 errors.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/footer.html | 2 | ||||
| -rw-r--r-- | docs/_layouts/default.html | 4 | ||||
| -rw-r--r-- | docs/_layouts/docs.html | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 429056ff3..3e12c58b8 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -12,7 +12,7 @@ </footer> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> -<script>window.jQuery || document.write('<script src="../assets/js/vendor/jquery.min.js"><\/script>')</script> +<script>window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/js/vendor/jquery.min.js"><\/script>')</script> {% if site.github %} <script src="{{ site.baseurl }}/dist/js/bootstrap.min.js"></script> diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 274f51f8d..dab3d5665 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -12,7 +12,9 @@ {% include nav-home.html %} - {{ content }} + <div id="content"> + {{ content }} + </div> {% include footer.html %} </body> diff --git a/docs/_layouts/docs.html b/docs/_layouts/docs.html index 9bcf55cd7..fc47e6f40 100644 --- a/docs/_layouts/docs.html +++ b/docs/_layouts/docs.html @@ -25,7 +25,7 @@ {% include nav-docs.html %} </div> <div class="col-md-9 col-md-pull-3 bd-content"> - <h1 class="bd-title">{{ page.title }}</h1> + <h1 class="bd-title" id="content">{{ page.title }}</h1> {{ content }} </div> </div> |
