From adb065b79d4878ffee81a4497cfb8e6fa95c3c4b Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 9 Mar 2022 16:13:36 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=B1=20Upgrade=20to=20FontAwesome=206?= =?UTF-8?q?=20icons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 +++++ README.md | 2 +- assets/icons/amazon.svg | 2 +- assets/icons/apple.svg | 2 +- assets/icons/blogger.svg | 2 +- assets/icons/bug.svg | 1 + assets/icons/check.svg | 1 + assets/icons/circle-info.svg | 1 + assets/icons/codepen.svg | 2 +- assets/icons/comment.svg | 1 + assets/icons/dev.svg | 2 +- assets/icons/discord.svg | 2 +- assets/icons/dribbble.svg | 2 +- assets/icons/edit.svg | 2 +- assets/icons/email.svg | 2 +- assets/icons/exclamation-triangle.svg | 1 - assets/icons/facebook.svg | 2 +- assets/icons/flickr.svg | 2 +- assets/icons/foursquare.svg | 2 +- assets/icons/github.svg | 2 +- assets/icons/gitlab.svg | 2 +- assets/icons/google.svg | 2 +- assets/icons/hashnode.svg | 1 + assets/icons/instagram.svg | 2 +- assets/icons/keybase.svg | 2 +- assets/icons/kickstarter.svg | 2 +- assets/icons/lastfm.svg | 2 +- assets/icons/lightbulb.svg | 1 + assets/icons/link.svg | 2 +- assets/icons/linkedin.svg | 2 +- assets/icons/list.svg | 1 + assets/icons/mastodon.svg | 2 +- assets/icons/medium.svg | 2 +- assets/icons/microsoft.svg | 2 +- assets/icons/moon.svg | 2 +- assets/icons/orcid.svg | 2 +- assets/icons/patreon.svg | 2 +- assets/icons/pencil.svg | 1 + assets/icons/pinterest.svg | 2 +- assets/icons/reddit.svg | 2 +- assets/icons/researchgate.svg | 2 +- assets/icons/search.svg | 2 +- assets/icons/skull-crossbones.svg | 1 + assets/icons/slack.svg | 2 +- assets/icons/snapchat.svg | 2 +- assets/icons/soundcloud.svg | 2 +- assets/icons/stack-overflow.svg | 1 + assets/icons/stackoverflow.svg | 1 - assets/icons/steam.svg | 2 +- assets/icons/sun.svg | 2 +- assets/icons/tag.svg | 1 + assets/icons/telegram.svg | 2 +- assets/icons/tiktok.svg | 2 +- assets/icons/times.svg | 1 - assets/icons/triangle-exclamation.svg | 1 + assets/icons/tumblr.svg | 2 +- assets/icons/twitch.svg | 2 +- assets/icons/twitter.svg | 2 +- assets/icons/whatsapp.svg | 2 +- assets/icons/xmark.svg | 1 + assets/icons/youtube.svg | 2 +- exampleSite/content/_index.md | 2 +- exampleSite/content/samples/icons.md | 20 +++++++++++++++++--- layouts/partials/search.html | 2 +- layouts/shortcodes/alert.html | 2 +- 65 files changed, 82 insertions(+), 53 deletions(-) create mode 100644 assets/icons/bug.svg create mode 100644 assets/icons/check.svg create mode 100644 assets/icons/circle-info.svg create mode 100644 assets/icons/comment.svg delete mode 100644 assets/icons/exclamation-triangle.svg create mode 100644 assets/icons/hashnode.svg create mode 100644 assets/icons/lightbulb.svg create mode 100644 assets/icons/list.svg create mode 100644 assets/icons/pencil.svg create mode 100644 assets/icons/skull-crossbones.svg create mode 100644 assets/icons/stack-overflow.svg delete mode 100644 assets/icons/stackoverflow.svg create mode 100644 assets/icons/tag.svg delete mode 100644 assets/icons/times.svg create mode 100644 assets/icons/triangle-exclamation.svg create mode 100644 assets/icons/xmark.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index b85c81ca..9f0facbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Changed +- Upgraded SVG icons to FontAwesome 6: + - New icons for Hashnode, bug, check, comment, light bulb, list, pencil, skull, tag, and information. + - ⚠️ The `exclamation-triangle` icon has been renamed `triangle-exclamation` + - ⚠️ The `times` icon has been renamed `xmark` + - ⚠️ The `stackoverflow` icon has been renamed `stack-overflow` - Markdown images and `figure` shortcode now search the `assets/` directory if an image cannot be found in page bundle ([#126](https://github.com/jpanther/congo/issues/126)) - Markdown images and `figure` shortcode now fallback to static assets if an image is not provided as a Hugo resource ([#126](https://github.com/jpanther/congo/issues/126)) - Taxonomy term listings now honour the `groupByYear` parameter ([#145](https://github.com/jpanther/congo/pull/145)) diff --git a/README.md b/README.md index a9faccaa..e29878aa 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Congo is designed to be a powerful, lightweight theme for [Hugo](https://gohugo. - Diagrams and visualisations using Mermaid - Charts using Chart.js - Mathematical notation using KaTeX -- SVG icons from FontAwesome 5 +- SVG icons from FontAwesome 6 - Automatic image resizing using Hugo Pipes - Heading anchors, Tables of Contents, Code copy, Buttons, Badges and more - HTML and Emoji support in articles 🎉 diff --git a/assets/icons/amazon.svg b/assets/icons/amazon.svg index b2b8a56a..32047db5 100644 --- a/assets/icons/amazon.svg +++ b/assets/icons/amazon.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/apple.svg b/assets/icons/apple.svg index 4adc2be9..d1c2233d 100644 --- a/assets/icons/apple.svg +++ b/assets/icons/apple.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/blogger.svg b/assets/icons/blogger.svg index d9bf80c5..194dd9b9 100644 --- a/assets/icons/blogger.svg +++ b/assets/icons/blogger.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/bug.svg b/assets/icons/bug.svg new file mode 100644 index 00000000..97cae6ea --- /dev/null +++ b/assets/icons/bug.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/check.svg b/assets/icons/check.svg new file mode 100644 index 00000000..a6938bd8 --- /dev/null +++ b/assets/icons/check.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/circle-info.svg b/assets/icons/circle-info.svg new file mode 100644 index 00000000..bd32225a --- /dev/null +++ b/assets/icons/circle-info.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/codepen.svg b/assets/icons/codepen.svg index 7a39ecd2..52ec58ae 100644 --- a/assets/icons/codepen.svg +++ b/assets/icons/codepen.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/comment.svg b/assets/icons/comment.svg new file mode 100644 index 00000000..23050411 --- /dev/null +++ b/assets/icons/comment.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/dev.svg b/assets/icons/dev.svg index 547b4111..7311e842 100644 --- a/assets/icons/dev.svg +++ b/assets/icons/dev.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/discord.svg b/assets/icons/discord.svg index 29d8307f..75f1fc71 100644 --- a/assets/icons/discord.svg +++ b/assets/icons/discord.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/dribbble.svg b/assets/icons/dribbble.svg index 8965a0af..c2613fed 100644 --- a/assets/icons/dribbble.svg +++ b/assets/icons/dribbble.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/edit.svg b/assets/icons/edit.svg index 174efd87..82a60358 100644 --- a/assets/icons/edit.svg +++ b/assets/icons/edit.svg @@ -1 +1 @@ - + diff --git a/assets/icons/email.svg b/assets/icons/email.svg index 8b72d6f8..fa215c60 100644 --- a/assets/icons/email.svg +++ b/assets/icons/email.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/exclamation-triangle.svg b/assets/icons/exclamation-triangle.svg deleted file mode 100644 index f316b164..00000000 --- a/assets/icons/exclamation-triangle.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/icons/facebook.svg b/assets/icons/facebook.svg index 649b4945..15358317 100644 --- a/assets/icons/facebook.svg +++ b/assets/icons/facebook.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/flickr.svg b/assets/icons/flickr.svg index 74796f55..fcd57c4c 100644 --- a/assets/icons/flickr.svg +++ b/assets/icons/flickr.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/foursquare.svg b/assets/icons/foursquare.svg index b36f8613..74c28e67 100644 --- a/assets/icons/foursquare.svg +++ b/assets/icons/foursquare.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/github.svg b/assets/icons/github.svg index 7870c06d..ed8c470f 100644 --- a/assets/icons/github.svg +++ b/assets/icons/github.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/gitlab.svg b/assets/icons/gitlab.svg index abc7faed..998e306d 100644 --- a/assets/icons/gitlab.svg +++ b/assets/icons/gitlab.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/google.svg b/assets/icons/google.svg index 2218d963..7e10132b 100644 --- a/assets/icons/google.svg +++ b/assets/icons/google.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/hashnode.svg b/assets/icons/hashnode.svg new file mode 100644 index 00000000..6ebe2db8 --- /dev/null +++ b/assets/icons/hashnode.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/instagram.svg b/assets/icons/instagram.svg index 53ab3119..3cd3d33c 100644 --- a/assets/icons/instagram.svg +++ b/assets/icons/instagram.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/keybase.svg b/assets/icons/keybase.svg index dd1694e0..998110e2 100644 --- a/assets/icons/keybase.svg +++ b/assets/icons/keybase.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/kickstarter.svg b/assets/icons/kickstarter.svg index 6ff59287..44969819 100644 --- a/assets/icons/kickstarter.svg +++ b/assets/icons/kickstarter.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/lastfm.svg b/assets/icons/lastfm.svg index f0302e72..2b533418 100644 --- a/assets/icons/lastfm.svg +++ b/assets/icons/lastfm.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/lightbulb.svg b/assets/icons/lightbulb.svg new file mode 100644 index 00000000..5ffc710e --- /dev/null +++ b/assets/icons/lightbulb.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/link.svg b/assets/icons/link.svg index 586901d4..eb283c25 100644 --- a/assets/icons/link.svg +++ b/assets/icons/link.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/linkedin.svg b/assets/icons/linkedin.svg index 437b8078..4e3948b4 100644 --- a/assets/icons/linkedin.svg +++ b/assets/icons/linkedin.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/list.svg b/assets/icons/list.svg new file mode 100644 index 00000000..f7a7df4e --- /dev/null +++ b/assets/icons/list.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/mastodon.svg b/assets/icons/mastodon.svg index 4257e7c6..2c9db56b 100644 --- a/assets/icons/mastodon.svg +++ b/assets/icons/mastodon.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/medium.svg b/assets/icons/medium.svg index c5da4f83..07d095de 100644 --- a/assets/icons/medium.svg +++ b/assets/icons/medium.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/microsoft.svg b/assets/icons/microsoft.svg index 4920b874..1bdb0c25 100644 --- a/assets/icons/microsoft.svg +++ b/assets/icons/microsoft.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/moon.svg b/assets/icons/moon.svg index 9fbb0a34..8356307a 100644 --- a/assets/icons/moon.svg +++ b/assets/icons/moon.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/orcid.svg b/assets/icons/orcid.svg index 65aa73b8..b7f1b250 100644 --- a/assets/icons/orcid.svg +++ b/assets/icons/orcid.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/patreon.svg b/assets/icons/patreon.svg index 6fe623ee..bd2e9943 100644 --- a/assets/icons/patreon.svg +++ b/assets/icons/patreon.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/pencil.svg b/assets/icons/pencil.svg new file mode 100644 index 00000000..29bd5258 --- /dev/null +++ b/assets/icons/pencil.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/pinterest.svg b/assets/icons/pinterest.svg index c445eb90..386481c0 100644 --- a/assets/icons/pinterest.svg +++ b/assets/icons/pinterest.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/reddit.svg b/assets/icons/reddit.svg index 83ae62dd..bb55eb54 100644 --- a/assets/icons/reddit.svg +++ b/assets/icons/reddit.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/researchgate.svg b/assets/icons/researchgate.svg index d4377d58..ad176db2 100644 --- a/assets/icons/researchgate.svg +++ b/assets/icons/researchgate.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/search.svg b/assets/icons/search.svg index f41bbdd4..15fe8928 100644 --- a/assets/icons/search.svg +++ b/assets/icons/search.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/skull-crossbones.svg b/assets/icons/skull-crossbones.svg new file mode 100644 index 00000000..4e19f6e7 --- /dev/null +++ b/assets/icons/skull-crossbones.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/slack.svg b/assets/icons/slack.svg index 3c8e9003..69909d8b 100644 --- a/assets/icons/slack.svg +++ b/assets/icons/slack.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/snapchat.svg b/assets/icons/snapchat.svg index 6e37c24d..b6efeef1 100644 --- a/assets/icons/snapchat.svg +++ b/assets/icons/snapchat.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/soundcloud.svg b/assets/icons/soundcloud.svg index 01198684..301c3d13 100644 --- a/assets/icons/soundcloud.svg +++ b/assets/icons/soundcloud.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/stack-overflow.svg b/assets/icons/stack-overflow.svg new file mode 100644 index 00000000..bba41598 --- /dev/null +++ b/assets/icons/stack-overflow.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/stackoverflow.svg b/assets/icons/stackoverflow.svg deleted file mode 100644 index 59a5b771..00000000 --- a/assets/icons/stackoverflow.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/icons/steam.svg b/assets/icons/steam.svg index 0bfb16d8..6efd1fd3 100644 --- a/assets/icons/steam.svg +++ b/assets/icons/steam.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/sun.svg b/assets/icons/sun.svg index 1a586124..34a57ec5 100644 --- a/assets/icons/sun.svg +++ b/assets/icons/sun.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/tag.svg b/assets/icons/tag.svg new file mode 100644 index 00000000..c78e65b4 --- /dev/null +++ b/assets/icons/tag.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/telegram.svg b/assets/icons/telegram.svg index 49bd008a..4101aef1 100644 --- a/assets/icons/telegram.svg +++ b/assets/icons/telegram.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/tiktok.svg b/assets/icons/tiktok.svg index 0fcd7b10..792a850d 100644 --- a/assets/icons/tiktok.svg +++ b/assets/icons/tiktok.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/times.svg b/assets/icons/times.svg deleted file mode 100644 index 81446224..00000000 --- a/assets/icons/times.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/icons/triangle-exclamation.svg b/assets/icons/triangle-exclamation.svg new file mode 100644 index 00000000..f501ce96 --- /dev/null +++ b/assets/icons/triangle-exclamation.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/tumblr.svg b/assets/icons/tumblr.svg index 84ed9094..1457d68b 100644 --- a/assets/icons/tumblr.svg +++ b/assets/icons/tumblr.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/twitch.svg b/assets/icons/twitch.svg index 198dc64e..a35fa557 100644 --- a/assets/icons/twitch.svg +++ b/assets/icons/twitch.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/twitter.svg b/assets/icons/twitter.svg index 9ac9e0b9..3ab4c1cb 100644 --- a/assets/icons/twitter.svg +++ b/assets/icons/twitter.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/whatsapp.svg b/assets/icons/whatsapp.svg index 9a379673..c1df9660 100644 --- a/assets/icons/whatsapp.svg +++ b/assets/icons/whatsapp.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/assets/icons/xmark.svg b/assets/icons/xmark.svg new file mode 100644 index 00000000..a4c5121f --- /dev/null +++ b/assets/icons/xmark.svg @@ -0,0 +1 @@ + diff --git a/assets/icons/youtube.svg b/assets/icons/youtube.svg index f59312a0..3fa4dade 100644 --- a/assets/icons/youtube.svg +++ b/assets/icons/youtube.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 24b50cd2..6e0d8d51 100755 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -11,7 +11,7 @@ This is a demo site built entirely using Congo. It also contains a complete set
- {{< icon "exclamation-triangle" >}} + {{< icon "triangle-exclamation" >}} This is a demo of the page layout. diff --git a/exampleSite/content/samples/icons.md b/exampleSite/content/samples/icons.md index fe43e355..1559a393 100644 --- a/exampleSite/content/samples/icons.md +++ b/exampleSite/content/samples/icons.md @@ -1,13 +1,15 @@ --- title: "Icons" date: 2020-08-14 +lastmod: 2022-03-09 draft: false description: "Icon support in Congo." slug: "icons" tags: ["icons", "sample", "shortcodes"] +showDateUpdated: true --- -Congo has built-in support for a number of [FontAwesome 5](https://fontawesome.com/icons) icons. These can be included in your website through either the [icon partial]({{< ref "docs/partials#icon" >}}) or [icon shortcode]({{< ref "docs/shortcodes#icon" >}}). +Congo has built-in support for a number of [FontAwesome 6](https://fontawesome.com/icons) icons. These can be included in your website through either the [icon partial]({{< ref "docs/partials#icon" >}}) or [icon shortcode]({{< ref "docs/shortcodes#icon" >}}). Additionally, custom icons are also fully supported. Simply provide your own SVG icon assets by placing them in the `assets/icons/` directory in the root of your project. Any icons in the icons directory will then be available to use throughout the theme. @@ -18,43 +20,55 @@ The full list of built-in icons and their corresponding names can referenced bel | amazon | {{< icon amazon >}} | | apple | {{< icon apple >}} | | blogger | {{< icon blogger >}} | +| bug | {{< icon bug >}} | +| check | {{< icon check >}} | +| circle-info | {{< icon circle-info >}} | | codepen | {{< icon codepen >}} | +| comment | {{< icon comment >}} | | dev | {{< icon dev >}} | | dribbble | {{< icon dribbble >}} | | edit | {{< icon edit >}} | | email | {{< icon email >}} | -| exclamation-triangle | {{< icon exclamation-triangle >}} | | facebook | {{< icon facebook >}} | | flickr | {{< icon flickr >}} | | foursquare | {{< icon foursquare >}} | | github | {{< icon github >}} | | gitlab | {{< icon gitlab >}} | | google | {{< icon google >}} | +| hashnode | {{< icon hashnode >}} | | instagram | {{< icon instagram >}} | | keybase | {{< icon keybase >}} | | kickstarter | {{< icon kickstarter >}} | | lastfm | {{< icon lastfm >}} | +| lightbulb | {{< icon lightbulb >}} | | link | {{< icon link >}} | | linkedin | {{< icon linkedin >}} | +| list | {{< icon list >}} | | mastodon | {{< icon mastodon >}} | | medium | {{< icon medium >}} | | microsoft | {{< icon microsoft >}} | | moon | {{< icon moon >}} | | orcid | {{< icon orcid >}} | | patreon | {{< icon patreon >}} | +| pencil | {{< icon pencil >}} | | pinterest | {{< icon pinterest >}} | | reddit | {{< icon reddit >}} | | researchgate | {{< icon researchgate >}} | +| search | {{< icon search >}} | +| skull-crossbones | {{< icon skull-crossbones >}} | | slack | {{< icon slack >}} | | snapchat | {{< icon snapchat >}} | | soundcloud | {{< icon soundcloud >}} | -| stackoverflow | {{< icon stackoverflow >}} | +| stack-overflow | {{< icon stack-overflow >}} | | steam | {{< icon steam >}} | | sun | {{< icon sun >}} | +| tag | {{< icon tag >}} | | telegram | {{< icon telegram >}} | | tiktok | {{< icon tiktok >}} | +| triangle-exclamation | {{< icon triangle-exclamation >}} | | tumblr | {{< icon tumblr >}} | | twitch | {{< icon twitch >}} | | twitter | {{< icon twitter >}} | | whatsapp | {{< icon whatsapp >}} | +| xmark | {{< icon xmark >}} | | youtube | {{< icon youtube >}} | diff --git a/layouts/partials/search.html b/layouts/partials/search.html index 0a1eb06d..feed6f9e 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -25,7 +25,7 @@ class="flex items-center justify-center w-8 h-8 text-neutral-700 dark:text-neutral hover:text-primary-600 dark:hover:text-primary-400" title="{{ i18n "search.close_button_title" }}" > - {{ partial "icon.html" "times" }} + {{ partial "icon.html" "xmark" }}
diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html index 41d380d9..67b64056 100644 --- a/layouts/shortcodes/alert.html +++ b/layouts/shortcodes/alert.html @@ -1,6 +1,6 @@
- {{ partial "icon.html" (.Get 0 | default "exclamation-triangle") }} + {{ partial "icon.html" (.Get 0 | default "triangle-exclamation") }} {{- .Inner | markdownify -}}