Skip to content

Commit

Permalink
include site-wide css files before page-specific css
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Aug 20, 2020
1 parent 4c62c42 commit b5826fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
{% endfor %}
{% endif %}

{% if page.css %}
{% for css in page.css %}
{% if site.site-css %}
{% for css in site.site-css %}
<link rel="stylesheet" href="{{ css | relative_url }}">
{% endfor %}
{% endif %}

{% if site.site-css %}
{% for css in site.site-css %}
{% if page.css %}
{% for css in page.css %}
<link rel="stylesheet" href="{{ css | relative_url }}">
{% endfor %}
{% endif %}
Expand Down

0 comments on commit b5826fe

Please sign in to comment.