mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 10:17:56 +00:00
The social sharing in 'page_sharer.yaml' can now use the built-in `brands/reddit` icon for sharing a page to Reddit.
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
# Hugo Blox
|
|
# Social sharing links
|
|
# Docs: https://docs.hugoblox.com/reference/page-sharer/
|
|
|
|
links:
|
|
- id: x
|
|
url: 'https://twitter.com/intent/tweet?url={url}&text={title}'
|
|
title: X
|
|
icon: brands/x
|
|
enable: true
|
|
- id: facebook
|
|
url: 'https://www.facebook.com/sharer.php?u={url}&t={title}'
|
|
title: Facebook
|
|
icon: brands/facebook
|
|
enable: true
|
|
- id: email
|
|
url: 'mailto:?subject={title}&body={url}'
|
|
title: Email
|
|
icon: hero/at-symbol
|
|
enable: true
|
|
- id: linkedin
|
|
url: 'https://www.linkedin.com/shareArticle?url={url}&title={title}'
|
|
title: LinkedIn
|
|
icon: brands/linkedin
|
|
enable: true
|
|
- id: whatsapp
|
|
url: 'whatsapp://send?text={title}%20{url}'
|
|
title: WhatsApp
|
|
icon: brands/whatsapp
|
|
enable: true
|
|
# - id: weibo
|
|
# url: 'https://service.weibo.com/share/share.php?url={url}&title={title}'
|
|
# title: Weibo
|
|
# icon: weibo
|
|
# enable: true
|
|
# - id: reddit
|
|
# url: 'https://reddit.com/submit?url={url}&title={title}'
|
|
# title: Reddit
|
|
# icon: brands/reddit
|
|
# enable: false
|
|
# - id: pinterest
|
|
# url: 'https://pinterest.com/pin/create/link/?url={url}&description={title}'
|
|
# title: Pinterest
|
|
# icon: pinterest
|
|
# enable: false
|
|
# - id: xing
|
|
# url: 'https://www.xing.com/spi/shares/new?url={url}&title={title}'
|
|
# title: Xing
|
|
# icon: xing
|
|
# enable: false
|
|
# - id: tumblr
|
|
# url: 'https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}'
|
|
# title: Tumblr
|
|
# icon: tumblr
|
|
# enable: false
|