aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/header.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-10 03:52:07 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-10 03:52:41 +0300
commit204e1fde2bfbc1476747566b5de66efbc97e659e (patch)
tree78a13f04fb7c7e26551d148766a8454903f4d09c /_includes/common/header.html
parentREADME: update (diff)
downloadjekyll-theme-204e1fde2bfbc1476747566b5de66efbc97e659e.tar.gz
jekyll-theme-204e1fde2bfbc1476747566b5de66efbc97e659e.zip
_includes: move tiny includes to the larger ones
Diffstat (limited to '_includes/common/header.html')
-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">