Change "fa" to "fas" for Font Awesome 5 (#2649)
* main.js: fa -> fas for FA 5 * Update CHANGELOG and history
This commit is contained in:
parent
5c8b220bf9
commit
b7144931c7
5 changed files with 5 additions and 6 deletions
|
@ -3,6 +3,7 @@
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix `entries_layout: grid` in various layouts. [#2639](https://github.com/mmistakes/minimal-mistakes/issues/2639)
|
- Fix `entries_layout: grid` in various layouts. [#2639](https://github.com/mmistakes/minimal-mistakes/issues/2639)
|
||||||
|
- Change `fa` to `fas` for Font Awesome 5. [#2649](https://github.com/mmistakes/minimal-mistakes/pull/2649)
|
||||||
|
|
||||||
## [4.20.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1)
|
## [4.20.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1)
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ $(document).ready(function() {
|
||||||
var anchor = document.createElement("a");
|
var anchor = document.createElement("a");
|
||||||
anchor.className = 'header-link';
|
anchor.className = 'header-link';
|
||||||
anchor.href = '#' + id;
|
anchor.href = '#' + id;
|
||||||
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>';
|
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fas fa-link\"></i>';
|
||||||
anchor.title = "Permalink";
|
anchor.title = "Permalink";
|
||||||
$(this).append(anchor);
|
$(this).append(anchor);
|
||||||
}
|
}
|
||||||
|
|
5
assets/js/main.min.js
vendored
5
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -12,6 +12,7 @@ toc: false
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
- Fix `entries_layout: grid` in various layouts. [#2639](https://github.com/mmistakes/minimal-mistakes/issues/2639)
|
- Fix `entries_layout: grid` in various layouts. [#2639](https://github.com/mmistakes/minimal-mistakes/issues/2639)
|
||||||
|
- Change `fa` to `fas` for Font Awesome 5. [#2649](https://github.com/mmistakes/minimal-mistakes/pull/2649)
|
||||||
|
|
||||||
## [4.20.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1)
|
## [4.20.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.20.1)
|
||||||
|
|
||||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "4.19.0",
|
"version": "4.20.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in a new issue