aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-27 00:18:12 -0700
committerMark Otto <[email protected]>2013-07-27 00:18:12 -0700
commit0f2b22a21087cc64fd67c1e3e72560d6fd469588 (patch)
tree5b7437e7f7f51d1c7b0dcc1e8ddeeb46db67a37b
parent295a87ab0f577661befcc106fe538d5bd58a58db (diff)
downloadbootstrap-0f2b22a21087cc64fd67c1e3e72560d6fd469588.tar.xz
bootstrap-0f2b22a21087cc64fd67c1e3e72560d6fd469588.zip
herpy derpy shit for urls
-rw-r--r--_includes/footer.html8
-rw-r--r--_includes/header.html12
-rw-r--r--_layouts/customize.html2
-rw-r--r--_layouts/default.html2
-rw-r--r--components.html1
-rw-r--r--css.html1
-rw-r--r--customize.html1
-rw-r--r--index.html1
-rw-r--r--javascript.html1
9 files changed, 17 insertions, 12 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index 065308c8c..6130efacf 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,13 +1,13 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
-<script src="/assets/js/jquery.js"></script>
-<script src="/dist/js/bootstrap.js"></script>
+<script src="{{ page.base_url }}/assets/js/jquery.js"></script>
+<script src="{{ page.base_url }}/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
-<script src="/assets/js/holder.js"></script>
+<script src="{{ page.base_url }}/assets/js/holder.js"></script>
-<script src="/assets/js/application.js"></script>
+<script src="{{ page.base_url }}/assets/js/application.js"></script>
{% unless site.port != "9001" %}
<!-- Analytics
diff --git a/_includes/header.html b/_includes/header.html
index cd59fcd54..3efbb8d7d 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -12,7 +12,7 @@
</title>
<!-- Bootstrap core CSS -->
-<link href="/dist/css/bootstrap.css" rel="stylesheet">
+<link href="{{ page.base_url }}/dist/css/bootstrap.css" rel="stylesheet">
{% if page.layout != "example" %}
<!-- Documentation extras -->
@@ -27,11 +27,11 @@
<![endif]-->
<!-- Favicons -->
-<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/assets/ico/apple-touch-icon-144-precomposed.png">
-<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/ico/apple-touch-icon-114-precomposed.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/ico/apple-touch-icon-72-precomposed.png">
- <link rel="apple-touch-icon-precomposed" href="/assets/ico/apple-touch-icon-57-precomposed.png">
- <link rel="shortcut icon" href="/assets/ico/favicon.png">
+<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ page.base_url }}/assets/ico/apple-touch-icon-144-precomposed.png">
+<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ page.base_url }}/assets/ico/apple-touch-icon-114-precomposed.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ page.base_url }}/assets/ico/apple-touch-icon-72-precomposed.png">
+ <link rel="apple-touch-icon-precomposed" href="{{ page.base_url }}/assets/ico/apple-touch-icon-57-precomposed.png">
+ <link rel="shortcut icon" href="{{ page.base_url }}/assets/ico/favicon.png">
{% unless site.port != "9001" %}
<script type="text/javascript">
diff --git a/_layouts/customize.html b/_layouts/customize.html
index 5fd92549e..0d1c6d2e8 100644
--- a/_layouts/customize.html
+++ b/_layouts/customize.html
@@ -1,4 +1,4 @@
- <!DOCTYPE html>
+<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta, title, CSS, favicons, etc. -->
diff --git a/_layouts/default.html b/_layouts/default.html
index fc6003260..24cb30a00 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -1,4 +1,4 @@
- <!DOCTYPE html>
+<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta, title, CSS, favicons, etc. -->
diff --git a/components.html b/components.html
index b78390b2f..e612caff5 100644
--- a/components.html
+++ b/components.html
@@ -3,6 +3,7 @@ layout: default
title: Components
slug: components
lead: "Dozens of reusable components built to provide iconography, dropdowns, navigation, alerts, popovers, and much more."
+base_url: "../"
---
diff --git a/css.html b/css.html
index 9e7da28f9..f53b63e55 100644
--- a/css.html
+++ b/css.html
@@ -3,6 +3,7 @@ layout: default
title: CSS
slug: css
lead: "Global CSS settings, fundamental HTML elements styled and enhanced with extensible classes, and an advanced grid system."
+base_url: "../"
---
diff --git a/customize.html b/customize.html
index cb8b0fb92..cc90d665d 100644
--- a/customize.html
+++ b/customize.html
@@ -3,6 +3,7 @@ layout: customize
title: Customize and download
slug: customize
lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to get your very own version.
+base_url: "../"
---
<!-- Customize
diff --git a/index.html b/index.html
index 10ec6d084..94ce52ade 100644
--- a/index.html
+++ b/index.html
@@ -1,6 +1,7 @@
---
layout: home
title: Bootstrap
+base_url: "./"
---
<div class="bs-masthead">
diff --git a/javascript.html b/javascript.html
index 39887ba6a..6cb6dd11f 100644
--- a/javascript.html
+++ b/javascript.html
@@ -3,6 +3,7 @@ layout: default
title: JavaScript
slug: js
lead: "Bring Bootstrap's components to life with over a dozen custom jQuery plugins. Easily include them all, or one by one."
+base_url: "../"
---