Add crossorigin attribute to FontAwesome script

ref #1922
This commit is contained in:
Michael Rose 2018-11-14 10:11:00 -05:00
parent 5c7fe6b603
commit 2cd757e601

View file

@ -9,7 +9,7 @@
{% endfor %} {% endfor %}
{% else %} {% else %}
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script> <script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
<script src="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"></script> <script src="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"></script>
{% endif %} {% endif %}
{% if site.search == true or page.layout == "search" %} {% if site.search == true or page.layout == "search" %}