diff --git a/README.md b/README.md index 1968b17c..ec8a1fea 100644 --- a/README.md +++ b/README.md @@ -376,13 +376,15 @@ Configure social share links in the Hugo config like this: formatString = "https://reddit.com/submit?url={url}&title={title}" [[params.socialShare]] iconSuite = "tabler-icon" - iconName = "mail" + iconName = "outline/mail" formatString = "mailto:?subject={title}&body={url}" ``` -Use the `iconSuite` option to specify the icon suite used for the social share +Use the `iconSuite` setting to specify the icon suite used for the social share link: `simple-icon` or `tabler-icon`. Select an icon from the suite with the -`iconName` option. +`iconName` setting. Tabler icons come in two distinct styles, `filled` and +`outline`. You'll have to the prefix the `iconName` accordingly, e.g. +`iconName = "outline/sun"`. The `formatString` supports the following placeholders: diff --git a/config/_default/config.toml b/config/_default/config.toml index 52359c98..138bb24f 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -136,7 +136,7 @@ enableRobotsTXT = true formatString = "https://telegram.me/share/url?url={url}&text={title}" [[params.socialShare]] iconSuite = "tabler-icon" - iconName = "mail" + iconName = "outline/mail" formatString = "mailto:?subject={title}&body={url}" [menu] diff --git a/layouts/partials/header.html b/layouts/partials/header.html index b573ccb1..c3ab85f1 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -39,7 +39,7 @@ - {{ partial "icons/tabler-icon.html" "menu-2" }} + {{ partial "icons/tabler-icon.html" "outline/menu-2" }}