Skip to content

Commit

Permalink
Adds configuration for additional site css (daattali#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
lexicalunit authored Aug 8, 2020
1 parent 3021233 commit 741f737
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ footer-link-col: "#404040"
#footer-img: "/assets/img/bgimage.png"
#page-img: "/assets/img/bgimage.png"

# You can also include any number of additional CSS assets in every page on your site
#site-css:
# - "/assets/css/my-style.css"

# --- Web Statistics Section --- #

# Fill in your Google Analytics gtag.js ID to track your website using gtag
Expand Down
6 changes: 6 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
{% endfor %}
{% endif %}

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

<!-- Facebook OpenGraph tags -->
{% if site.fb_app_id %}
<meta property="fb:app_id" content="{{ site.fb_app_id }}">
Expand Down

0 comments on commit 741f737

Please sign in to comment.