diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index daa8507d..11319d68 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -44,7 +44,7 @@ smartTOCHideUnfocusedChildren = false showMoreLinkDest = "docs" cardView = false cardViewScreenWidth = false - layoutBackgroundBlur = false # only used when layout equals background + layoutBackgroundBlur = true # only used when layout equals background [article] showDate = false diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md index 7bccb643..50594690 100644 --- a/exampleSite/content/docs/shortcodes/index.md +++ b/exampleSite/content/docs/shortcodes/index.md @@ -392,13 +392,22 @@ The `keyword` component can be used to visually highlight certain important word The input is written in Markdown so you can format it however you please. -**Example:** +**Example1 :** + +```md +{{* keyword */>}} Super skill {{* /keyword */>}} +``` + +{{< keyword >}} *Standalone* skill {{< /keyword >}} + +**Example2 :** ```md {{* keywordList */>}} {{* keyword icon="github" */>}} Lorem ipsum dolor. {{* /keyword */>}} {{* keyword icon="code" */>}} **Important** skill {{* /keyword */>}} {{* /keywordList */>}} + {{* keyword */>}} *Standalone* skill {{* /keyword */>}} ``` diff --git a/exampleSite/content/samples/icons/index.md b/exampleSite/content/samples/icons/index.md index e20880f5..f11fd68c 100644 --- a/exampleSite/content/samples/icons/index.md +++ b/exampleSite/content/samples/icons/index.md @@ -37,6 +37,7 @@ The full list of built-in icons and their corresponding names can referenced bel | edit | {{< icon edit >}} | | email | {{< icon email >}} | | envelope | {{< icon envelope >}} | +| expand | {{< icon expand >}} | | eye | {{< icon eye >}} | | facebook | {{< icon facebook >}} | | fire | {{< icon fire >}} | diff --git a/layouts/shortcodes/keyword.html b/layouts/shortcodes/keyword.html index d8847679..8e6528d2 100644 --- a/layouts/shortcodes/keyword.html +++ b/layouts/shortcodes/keyword.html @@ -1,7 +1,7 @@ {{ $icon := .Get "icon"}}