aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-10-28 17:21:04 -0700
committerMark Otto <[email protected]>2014-10-28 17:21:04 -0700
commit2758cfecd8dc135012018af474d8509e9f5ace45 (patch)
tree1c5922595490acead5d37460726cf7bb29c08ee0
parentca63e387b9af8a5436e2ccdf8e45e240cb8ca310 (diff)
parent3908235e0fb0550a6fcffe6499f3b6786900e85d (diff)
downloadbootstrap-2758cfecd8dc135012018af474d8509e9f5ace45.tar.xz
bootstrap-2758cfecd8dc135012018af474d8509e9f5ace45.zip
Merge pull request #14885 from twbs/remove-baseurl
Remove `baseurl` as it doesn't serve any real purpose.
-rw-r--r--_config.yml1
-rw-r--r--docs/_includes/header.html2
2 files changed, 1 insertions, 2 deletions
diff --git a/_config.yml b/_config.yml
index 607750b7a..1957136b9 100644
--- a/_config.yml
+++ b/_config.yml
@@ -10,7 +10,6 @@ source: docs
destination: _gh_pages
host: 0.0.0.0
port: 9001
-baseurl: /
url: http://getbootstrap.com
encoding: UTF-8
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index d3f78d424..bf536fc4d 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -6,7 +6,7 @@
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<title>
- {% if page.url == site.baseurl %}
+ {% if page.layout == "home" %}
{{ page.title }}
{% else %}
{{ page.title }} &middot; Bootstrap