aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2015-08-29 13:08:21 +0300
committerXhmikosR <[email protected]>2015-09-02 09:37:38 +0300
commit19e5cf226da5daad92df6602336e84ac9ccba528 (patch)
tree0da00a47e17dd9dded6ba74328af9e6261e4ac91 /docs
parentbf3bd2e0374f6bf1099dadf4c3eb05392a6aabb9 (diff)
downloadbootstrap-19e5cf226da5daad92df6602336e84ac9ccba528.tar.xz
bootstrap-19e5cf226da5daad92df6602336e84ac9ccba528.zip
Fix missing anchors and 404 errors.
[skip sauce]
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/footer.html2
-rw-r--r--docs/_layouts/default.html4
-rw-r--r--docs/_layouts/docs.html2
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>