Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bdca2f0

Browse files
committed
Update head.html
1 parent 0790978 commit bdca2f0

File tree

1 file changed

+2
-34
lines changed

1 file changed

+2
-34
lines changed

_includes/head.html

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,19 @@
99
<meta name="description" content="{{ site.description }}">
1010

1111
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
12-
13-
<!-- everything has to be repeated twice because on 2016-02-01 GitHub pages migrated to jekyll 3; see bug https://github.com/jekyll/jekyll/issues/4439 -->
14-
15-
{% if page.common-ext-css %}
16-
{% for css in page.common-ext-css %}
17-
<link rel="stylesheet" href="{{ css }}" />
18-
{% endfor %}
19-
{% endif %}
12+
2013
{% if layout.common-ext-css %}
2114
{% for css in layout.common-ext-css %}
2215
<link rel="stylesheet" href="{{ css }}" />
2316
{% endfor %}
2417
{% endif %}
2518

26-
{% if page.common-css %}
27-
{% for css in page.common-css %}
28-
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
29-
{% endfor %}
30-
{% endif %}
3119
{% if layout.common-css %}
3220
{% for css in layout.common-css %}
3321
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
3422
{% endfor %}
3523
{% endif %}
3624

37-
{% if page.common-googlefonts %}
38-
{% for font in page.common-googlefonts %}
39-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
40-
{% endfor %}
41-
{% endif %}
4225
{% if layout.common-googlefonts %}
4326
{% for font in layout.common-googlefonts %}
4427
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
@@ -50,33 +33,18 @@
5033
<link rel="stylesheet" href="{{ css }}" />
5134
{% endfor %}
5235
{% endif %}
53-
{% if layout.ext-css %}
54-
{% for css in layout.ext-css %}
55-
<link rel="stylesheet" href="{{ css }}" />
56-
{% endfor %}
57-
{% endif %}
5836

5937
{% if page.css %}
6038
{% for css in page.css %}
6139
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
6240
{% endfor %}
6341
{% endif %}
64-
{% if layout.css %}
65-
{% for css in layout.css %}
66-
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
67-
{% endfor %}
68-
{% endif %}
69-
42+
7043
{% if page.googlefonts %}
7144
{% for font in page.googlefonts %}
7245
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
7346
{% endfor %}
7447
{% endif %}
75-
{% if layout.googlefonts %}
76-
{% for font in layout.googlefonts %}
77-
<link rel="stylesheet" href="//fonts.googleapis.com/css?family={{ font }}" />
78-
{% endfor %}
79-
{% endif %}
8048

8149
<!-- Facebook OpenGraph tags -->
8250
{% if page.meta-title %}

0 commit comments

Comments
 (0)