~xdavidwu/xdavidwu.link

cdf11d69fff8e9fb7b174b1fb149066191f071d0 — Léo Grange 6 years ago c143c38
add integrity hash for Font Awesome script (#1922)

* add integrity hash for Font Awesome script

As the script is loaded from an external CDN (use.fontawesome.com), its integrity must be ensured mainly for security reasons.
This hash must be updated together with the exact version of Font Awesome, as given on their website.

* Update to FontAwesome 5.5.0
1 files changed, 1 insertions(+), 1 deletions(-)

M _includes/scripts.html
M _includes/scripts.html => _includes/scripts.html +1 -1
@@ 9,7 9,7 @@
  {% endfor %}
{% else %}
  <script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
  <script src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
  <script src="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"></script>
{% endif %}

{% if site.search == true or page.layout == "search" %}