aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-05-22 19:20:32 -0700
committerMark Otto <[email protected]>2014-05-22 19:20:32 -0700
commit68de4bf387650aa83f5138ef114adf88f40f9871 (patch)
treeefb528f8b9b1459e8a3d57a61cefcd9942cd8273 /docs/_includes
parentfab9ab8fe9b51ebc88872482556df3f793e5ac4a (diff)
parent326f6b2b873e7bd888204f754ebe394bbb124c56 (diff)
downloadbootstrap-68de4bf387650aa83f5138ef114adf88f40f9871.tar.xz
bootstrap-68de4bf387650aa83f5138ef114adf88f40f9871.zip
Merge pull request #13463 from twbs/docs-theme-toggler
add button to toggle the optional theme when viewing the docs
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/header.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
index eaf8083dd..b21969451 100644
--- a/docs/_includes/header.html
+++ b/docs/_includes/header.html
@@ -15,6 +15,10 @@
<!-- Bootstrap core CSS -->
<link href="../dist/css/bootstrap.min.css" rel="stylesheet">
+{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
+ <!-- Optional Bootstrap Theme -->
+ <link href="data:text/css;charset=utf-8," data-href="../dist/css/bootstrap-theme.min.css" rel="stylesheet" id="bs-theme-stylesheet">
+{% endif %}
<!-- Documentation extras -->
<link href="../assets/css/docs.min.css" rel="stylesheet">