Usage: {{social_url type="platform"}}
(e.g., {{social_url type="facebook"}}
, {{social_url type="bluesky"}}
)
{{social_url}}
helper generates a URL for a specified social media platform based on the provided platform type. It takes a single argument, type
, which specifies the social media platform (e.g., facebook
, mastodon
, etc.). The helper looks for the specified platform in the given context (usually author) and constructs the appropriate URL.
For facebook and twitter, the helper will fall back to the sitewide values if they’re not set on the local context.
For the remaining platforms the fallback behaviour is to output nothing.
Supported platforms include: facebook
, twitter
, linkedin
, threads
, bluesky
, mastodon
, tiktok
, youtube
, instagram
.
author
block: