aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/header.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_includes/common/header.html19
1 files changed, 15 insertions, 4 deletions
diff --git a/_includes/common/header.html b/_includes/common/header.html
index bff0657..e5af5b4 100644
--- a/_includes/common/header.html
+++ b/_includes/common/header.html
@@ -11,7 +11,21 @@
<title>{{ page.title }} - {{ site.settings.author.name }}</title>
{% endif %}
- {% include common/bootstrap_css.html %}
+ {% if site.settings.3rdparty.minified %}
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/css/bootstrap.min.css">
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/{{ site.settings.3rdparty.versions.html5shiv }}/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/{{ site.settings.3rdparty.versions.respond }}/respond.min.js"></script>
+ <![endif]-->
+ {% else %}
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/css/bootstrap.css">
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/{{ site.settings.3rdparty.versions.html5shiv }}/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/respond/{{ site.settings.3rdparty.versions.respond }}/respond.js"></script>
+ <![endif]-->
+ {% endif %}
+
+ {% include common/mathjax.html %}
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
@@ -20,9 +34,6 @@
<link rel="stylesheet" href="{{ '/assets/css/' | relative_url }}{{ css }}"/>
{% endfor %}
{% endif %}
-
- {% include common/ie_compat.html %}
- {% include common/mathjax.html %}
</head>
<body>
<div class="top-level-footer-wrapper">