]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use non-minified CSS when running docs locally 18423/head
authorChris Rebert <code@chrisrebert.com>
Fri, 4 Dec 2015 08:44:33 +0000 (00:44 -0800)
committerChris Rebert <code@chrisrebert.com>
Fri, 4 Dec 2015 08:45:37 +0000 (00:45 -0800)
For easier debugging.
Just like we already do for the JS.

[skip sauce]

docs/_includes/header.html

index 514e686ea8ff84c5ee9e7c5197edc12ddd1e7d8e..e7ecb12ab5abf3127ea524b6b6592be8a4dbe569 100644 (file)
 </title>
 
 <!-- Bootstrap core CSS -->
-<link href="{{ site.baseurl }}/dist/css/bootstrap.min.css" rel="stylesheet">
+{% if site.github %}
+  <link href="{{ site.baseurl }}/dist/css/bootstrap.min.css" rel="stylesheet">
+{% else %}
+  <link href="{{ site.baseurl }}/dist/css/bootstrap.css" rel="stylesheet">
+{% endif %}
 
 <!-- Documentation extras -->
 <link href="{{ site.baseurl }}/assets/css/docs.min.css" rel="stylesheet">