~xdavidwu/xdavidwu.link

a8771addc7b7cd4002dd620d90a863a4c6932d4b — iBug ♦ 4 years ago 37af280
Load Font Awesome CSS from jsDelivr CDN (#2583)

* Load Font Awesome CSS from jsDelivr CDN
* Update CHANGELOG and history
3 files changed, 7 insertions(+), 1 deletions(-)

M CHANGELOG.md
M _includes/head.html
M _includes/scripts.html
M CHANGELOG.md => CHANGELOG.md +6 -0
@@ 1,3 1,9 @@
## Unreleased

### Enhancements

- Replace Font Awesome Kits with CSS from jsDelivr CDN. [#2583](https://github.com/mmistakes/minimal-mistakes/pull/2583)

## [4.19.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.3)

### Enhancements

M _includes/head.html => _includes/head.html +1 -0
@@ 13,6 13,7 @@

<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">

<!--[if IE]>
  <style>

M _includes/scripts.html => _includes/scripts.html +0 -1
@@ 4,7 4,6 @@
  {% endfor %}
{% else %}
  <script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
  <script src="https://kit.fontawesome.com/4eee35f757.js"></script>
{% endif %}

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