From f8f6e589ac710c483d29ae3554739aca5c5e4ab7 Mon Sep 17 00:00:00 2001 From: iBug Date: Wed, 24 Apr 2024 00:51:38 +0800 Subject: [PATCH] Replace fontawesome.com/v5/search with v6 --- CHANGELOG.md | 3 ++- docs/_docs/05-configuration.md | 4 ++-- docs/_docs/10-layouts.md | 4 ++-- docs/_docs/14-helpers.md | 4 ++-- docs/_docs/18-history.md | 5 +++-- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a165a5d0..9b3dd033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,11 +12,12 @@ - Add more configuration for Giscus. [#4274](https://github.com/mmistakes/minimal-mistakes/pull/4274) - Bump jekyll-toc to [v1.2.1](https://github.com/allejo/jekyll-toc/releases/tag/v1.2.1). -### Maintenance +### Documentation & Maintenance - Bump shell-quote from 1.7.1 to 1.7.3 [#3692](https://github.com/mmistakes/minimal-mistakes/issues/3692) - Add `after-content.html` and `before-related.html` includes to ease docs site overrides. - GitHub Workflows security hardening [#3884](https://github.com/mmistakes/minimal-mistakes/issues/3884) +- Replace Font Awesome v5 search page with v6. ## [4.25.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.0) diff --git a/docs/_docs/05-configuration.md b/docs/_docs/05-configuration.md index bbd3955e..9e534c18 100644 --- a/docs/_docs/05-configuration.md +++ b/docs/_docs/05-configuration.md @@ -907,7 +907,7 @@ Author links are all optional, include the ones you want visible under the `auth | Name | Description | | --- | --- | | **label** | Link label (e.g. `"Twitter"`) | -| **icon** | [Font Awesome icon](https://fontawesome.com/v5/search) classes (e.g. `"fab fa-fw fa-twitter-square"`) | +| **icon** | [Font Awesome icon](https://fontawesome.com/v6/search) classes (e.g. `"fab fa-fw fa-twitter-square"`) | | **url** | Link URL (e.g. `"https://twitter.com/mmistakes"`) | ```yaml @@ -940,7 +940,7 @@ Footer links can be added under the `footer.links` array. | Name | Description | | --- | --- | | **label** | Link label (e.g. `"Twitter"`) | -| **icon** | [Font Awesome icon](https://fontawesome.com/v5/search) classes (e.g. `"fab fa-fw fa-twitter-square"`) | +| **icon** | [Font Awesome icon](https://fontawesome.com/v6/search) classes (e.g. `"fab fa-fw fa-twitter-square"`) | | **url** | Link URL (e.g. `"https://twitter.com/mmistakes"`) | ```yaml diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md index 9574b44e..3f20ea02 100644 --- a/docs/_docs/10-layouts.md +++ b/docs/_docs/10-layouts.md @@ -128,7 +128,7 @@ Auto-generated table of contents list for your posts and pages can be enabled by | --------- | -------- | ----------- | ------- | | **toc** | Optional | Show table of contents. (boolean) | `false` | | **toc_label** | Optional | Table of contents title. (string) | `toc_label` in UI Text data file. | -| **toc_icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/v5/search?s=solid&m=free) **file-alt** icon. Other FA icons can be used instead. | +| **toc_icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/v6/search?s=solid&m=free) **file-alt** icon. Other FA icons can be used instead. | | **toc_sticky** | Optional | Stick table of contents to top of screen. | `false` | **TOC example with custom title and icon** @@ -593,7 +593,7 @@ defaults: **Note:** To disable the author sidebar profile for a specific post or page, add `author_profile: false` to the YAML Front Matter instead. {: .notice--warning} -To assign more author links, add to the `author.links` array in [`_config.yml`]({{ "/docs/configuration/" | relative_url }}) link so. Any of [Font Awesome's icons](https://fontawesome.com/v5/search) are available for use. +To assign more author links, add to the `author.links` array in [`_config.yml`]({{ "/docs/configuration/" | relative_url }}) link so. Any of [Font Awesome's icons](https://fontawesome.com/v6/search) are available for use. ```yaml author: diff --git a/docs/_docs/14-helpers.md b/docs/_docs/14-helpers.md index 88f11491..f151b265 100644 --- a/docs/_docs/14-helpers.md +++ b/docs/_docs/14-helpers.md @@ -279,7 +279,7 @@ Add `toc: true` to the YAML Front Matter of any post or page. | -------------- | -------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **toc** | Optional | Show table of contents. (boolean) | `false` | | **toc_label** | Optional | Table of contents title. (string) | `toc_label` in UI Text data file. | -| **toc_icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/v5/search?s=solid&m=free) **file-alt** icon. Other FA icons can be used instead. | +| **toc_icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/v6/search?s=solid&m=free) **file-alt** icon. Other FA icons can be used instead. | | **toc_sticky** | Optional | Stick table of contents to top of screen. | `false` | **TOC example with custom title and icon** @@ -337,7 +337,7 @@ To include a Kramdown [auto-generated table of contents](https://kramdown.gettal | Parameter | Required | Description | Default | | --------- | -------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **title** | Optional | Table of contents title. (string) | `toc_label` in UI Text data file. | -| **icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/v5/search?s=solid&m=free) **file-alt** icon. Other FA icons can be used instead. | +| **icon** | Optional | Table of contents icon, displays before the title. (string) | [Font Awesome](https://fontawesome.com/v6/search?s=solid&m=free) **file-alt** icon. Other FA icons can be used instead. | **TOC example with custom title and icon** diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index bdafd200..fff8d8c7 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -5,7 +5,7 @@ permalink: "/docs/history/" excerpt: Change log of enhancements and bug fixes made to the theme. sidebar: nav: docs -last_modified_at: '2024-04-23T21:52:19+08:00' +last_modified_at: '2024-04-24T00:51:32+08:00' toc: false --- @@ -27,11 +27,12 @@ toc: false - Add more configuration for Giscus. [#4274](https://github.com/mmistakes/minimal-mistakes/pull/4274) - Bump jekyll-toc to [v1.2.1](https://github.com/allejo/jekyll-toc/releases/tag/v1.2.1). -### Maintenance +### Documentation & Maintenance - Bump shell-quote from 1.7.1 to 1.7.3 [#3692](https://github.com/mmistakes/minimal-mistakes/issues/3692) - Add `after-content.html` and `before-related.html` includes to ease docs site overrides. - GitHub Workflows security hardening [#3884](https://github.com/mmistakes/minimal-mistakes/issues/3884) +- Replace Font Awesome v5 search page with v6. ## [4.25.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.0)