Skip to content

Commit b5826fe

Browse files
authored
include site-wide css files before page-specific css
1 parent 4c62c42 commit b5826fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_includes/head.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848
{% endfor %}
4949
{% endif %}
5050

51-
{% if page.css %}
52-
{% for css in page.css %}
51+
{% if site.site-css %}
52+
{% for css in site.site-css %}
5353
<link rel="stylesheet" href="{{ css | relative_url }}">
5454
{% endfor %}
5555
{% endif %}
56-
57-
{% if site.site-css %}
58-
{% for css in site.site-css %}
56+
57+
{% if page.css %}
58+
{% for css in page.css %}
5959
<link rel="stylesheet" href="{{ css | relative_url }}">
6060
{% endfor %}
6161
{% endif %}

0 commit comments

Comments
 (0)