Adds configuration for additional site css (#695)

This commit is contained in:
Amy Troschinetz 2020-08-07 18:10:02 -07:00 committed by GitHub
parent 3021233850
commit 741f7378bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -101,6 +101,10 @@ footer-link-col: "#404040"
#footer-img: "/assets/img/bgimage.png" #footer-img: "/assets/img/bgimage.png"
#page-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 --- # # --- Web Statistics Section --- #
# Fill in your Google Analytics gtag.js ID to track your website using gtag # Fill in your Google Analytics gtag.js ID to track your website using gtag

View File

@ -44,6 +44,12 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if site.site-css %}
{% for css in site.site-css %}
<link rel="stylesheet" href="{{ css | relative_url }}">
{% endfor %}
{% endif %}
<!-- Facebook OpenGraph tags --> <!-- Facebook OpenGraph tags -->
{% if site.fb_app_id %} {% if site.fb_app_id %}
<meta property="fb:app_id" content="{{ site.fb_app_id }}"> <meta property="fb:app_id" content="{{ site.fb_app_id }}">