Skip to content

Commit 03aacbe

Browse files
authored
Change "fa" to "fas" for Font Awesome 5 (mmistakes#2649)
* main.js: fa -> fas for FA 5 * Update CHANGELOG and history
1 parent 7109091 commit 03aacbe

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### Bug Fixes
44

55
- Fix `entries_layout: grid` in various layouts. [#2639](https://github.com/mmistakes/minimal-mistakes/issues/2639)
6+
- Change `fa` to `fas` for Font Awesome 5. [#2649](https://github.com/mmistakes/minimal-mistakes/pull/2649)
67

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

assets/js/_main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ $(document).ready(function() {
128128
var anchor = document.createElement("a");
129129
anchor.className = 'header-link';
130130
anchor.href = '#' + id;
131-
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fa fa-link\"></i>';
131+
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fas fa-link\"></i>';
132132
anchor.title = "Permalink";
133133
$(this).append(anchor);
134134
}

assets/js/main.min.js

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/_docs/18-history.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ toc: false
1212
## Unreleased
1313

1414
- Fix `entries_layout: grid` in various layouts. [#2639](https://github.com/mmistakes/minimal-mistakes/issues/2639)
15+
- Change `fa` to `fas` for Font Awesome 5. [#2649](https://github.com/mmistakes/minimal-mistakes/pull/2649)
1516

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

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)