diff --git a/material/plugins/social/plugin.py b/material/plugins/social/plugin.py index 4c203e2a1..4f3183ac2 100644 --- a/material/plugins/social/plugin.py +++ b/material/plugins/social/plugin.py @@ -114,8 +114,8 @@ class SocialPlugin(BasePlugin[SocialPluginConfig]): # Check if site URL is defined if not config.site_url: log.warning( - "The \"social\" plugin needs the \"site_url\" configuration " - "option to be defined. It will likely not work correctly." + "The \"site_url\" option is not set. The cards are generated, " + "but not linked, so they won't be visible on social media." ) # Ensure presence of cache directory diff --git a/src/plugins/social/plugin.py b/src/plugins/social/plugin.py index 4c203e2a1..4f3183ac2 100644 --- a/src/plugins/social/plugin.py +++ b/src/plugins/social/plugin.py @@ -114,8 +114,8 @@ class SocialPlugin(BasePlugin[SocialPluginConfig]): # Check if site URL is defined if not config.site_url: log.warning( - "The \"social\" plugin needs the \"site_url\" configuration " - "option to be defined. It will likely not work correctly." + "The \"site_url\" option is not set. The cards are generated, " + "but not linked, so they won't be visible on social media." ) # Ensure presence of cache directory