🐛 Fixed the font icon error, Resolved #134

Because the offical fontawsome had update the font size, there will use new class of icon reference.
This commit is contained in:
elkan1788
2023-12-31 08:20:09 +08:00
parent 93ec7e56e6
commit 25aff95260
11 changed files with 18 additions and 13 deletions

View File

@@ -1046,7 +1046,7 @@ params:
# - flat flat callout style with background, like on Mozilla or StackOverflow.
# - disabled disable all CSS styles import of note tag.
style: simple
icons: false
icons: true
# Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
# Offset also applied to label tag variables. This option can work with disabled note tag.
lightBgOffset: 0

View File

@@ -66,6 +66,11 @@ url: "post/shortcodes.html"
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< note primary >}}
### Primary Header
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< note info >}}
### Info Header
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
@@ -84,4 +89,4 @@ url: "post/shortcodes.html"
{{< note danger >}}
### Danger Header
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< /note >}}