diff options
| author | Chris Rebert <[email protected]> | 2014-01-20 13:55:07 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-01-20 13:55:07 -0800 |
| commit | ece15cb010441c2cec7f14eabb82876781b987c8 (patch) | |
| tree | 4227886368a0e120653168b372312b03c8af006d /docs | |
| parent | 4380ca434885f33072885e639a2d29cc203771bd (diff) | |
| parent | f59573db0d4dd6f7f1e3b2c62058298de771a257 (diff) | |
| download | bootstrap-ece15cb010441c2cec7f14eabb82876781b987c8.tar.xz bootstrap-ece15cb010441c2cec7f14eabb82876781b987c8.zip | |
Merge pull request #12307 from twbs/bye-site-baseurl
docs: use relative URLs instead of site.baseurl
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/footer.html | 12 | ||||
| -rw-r--r-- | docs/_includes/header.html | 10 | ||||
| -rw-r--r-- | docs/_includes/nav-main.html | 12 | ||||
| -rw-r--r-- | docs/index.html | 2 |
4 files changed, 18 insertions, 18 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 341dc3410..78e3b9f1d 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -12,11 +12,11 @@ <li>·</li> <li><a href="{{ site.repo }}">GitHub</a></li> <li>·</li> - <li><a href="{{ site.baseurl }}getting-started/#examples">Examples</a></li> + <li><a href="../getting-started/#examples">Examples</a></li> <li>·</li> - <li><a href="{{ site.baseurl }}2.3.2/">v2.3.2 docs</a></li> + <li><a href="../2.3.2/">v2.3.2 docs</a></li> <li>·</li> - <li><a href="{{ site.baseurl }}about/">About</a></li> + <li><a href="../about/">About</a></li> <li>·</li> <li><a href="{{ site.expo }}">Expo</a></li> <li>·</li> @@ -33,10 +33,10 @@ ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> -<script src="{{ site.baseurl }}dist/js/bootstrap.min.js"></script> -<script src="{{ site.baseurl }}assets/js/docs.min.js"></script> +<script src="../dist/js/bootstrap.min.js"></script> +<script src="../assets/js/docs.min.js"></script> {% if page.slug == "customize" %} -<script src="{{ site.baseurl }}assets/js/customize.min.js"></script> +<script src="../assets/js/customize.min.js"></script> {% endif %} {% comment %} diff --git a/docs/_includes/header.html b/docs/_includes/header.html index 8bb49f980..bc262e208 100644 --- a/docs/_includes/header.html +++ b/docs/_includes/header.html @@ -14,11 +14,11 @@ </title> <!-- Bootstrap core CSS --> -<link href="{{ site.baseurl }}dist/css/bootstrap.min.css" rel="stylesheet"> +<link href="../dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Documentation extras --> -<link href="{{ site.baseurl }}assets/css/pack.min.css" rel="stylesheet"> -<!--[if lt IE 9]><script src="{{ site.baseurl }}assets/js/ie8-responsive-file-warning.js"></script><![endif]--> +<link href="../assets/css/pack.min.css" rel="stylesheet"> +<!--[if lt IE 9]><script src="../assets/js/ie8-responsive-file-warning.js"></script><![endif]--> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> @@ -27,8 +27,8 @@ <![endif]--> <!-- Favicons --> -<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}assets/ico/apple-touch-icon-144-precomposed.png"> - <link rel="shortcut icon" href="{{ site.baseurl }}assets/ico/favicon.ico"> +<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png"> + <link rel="shortcut icon" href="../assets/ico/favicon.ico"> <script> var _gaq = _gaq || []; diff --git a/docs/_includes/nav-main.html b/docs/_includes/nav-main.html index 5b1b89744..6c5567e91 100644 --- a/docs/_includes/nav-main.html +++ b/docs/_includes/nav-main.html @@ -7,24 +7,24 @@ <span class="icon-bar"></span> <span class="icon-bar"></span> </button> - <a href="{{ site.baseurl }}" class="navbar-brand">Bootstrap</a> + <a href="../" class="navbar-brand">Bootstrap</a> </div> <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation"> <ul class="nav navbar-nav"> <li{% if page.slug == "getting-started" %} class="active"{% endif %}> - <a href="{{ site.baseurl }}getting-started">Getting started</a> + <a href="../getting-started">Getting started</a> </li> <li{% if page.slug == "css" %} class="active"{% endif %}> - <a href="{{ site.baseurl }}css">CSS</a> + <a href="../css">CSS</a> </li> <li{% if page.slug == "components" %} class="active"{% endif %}> - <a href="{{ site.baseurl }}components">Components</a> + <a href="../components">Components</a> </li> <li{% if page.slug == "js" %} class="active"{% endif %}> - <a href="{{ site.baseurl }}javascript">JavaScript</a> + <a href="../javascript">JavaScript</a> </li> <li{% if page.slug == "customize" %} class="active"{% endif %}> - <a href="{{ site.baseurl }}customize">Customize</a> + <a href="../customize">Customize</a> </li> </ul> <ul class="nav navbar-nav navbar-right"> diff --git a/docs/index.html b/docs/index.html index 8f36b3417..ac790176f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -50,7 +50,7 @@ title: Bootstrap <div class="bs-featurette"> <div class="container"> <h2 class="bs-featurette-title">Built with Bootstrap.</h2> - <p class="lead">Millions of amazing sites across the web are being built with Bootstrap. Get started on your own with our growing <a href="{{ site.url }}/getting-started/#examples">collection of examples</a> or by exploring some of our favorites.</p> + <p class="lead">Millions of amazing sites across the web are being built with Bootstrap. Get started on your own with our growing <a href="../getting-started/#examples">collection of examples</a> or by exploring some of our favorites.</p> <hr class="half-rule"> |
