Skip to content

Commit 357c178

Browse files
committed
added page_sharer.yaml for social media
1 parent dce0114 commit 357c178

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

data/page_sharer.yaml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Hugo Blox
2+
# Social sharing links
3+
# Docs: https://docs.hugoblox.com/reference/page-sharer/
4+
5+
links:
6+
- id: x
7+
url: 'https://twitter.com/intent/tweet?url={url}&text={title}'
8+
title: X
9+
icon: brands/x
10+
enable: true
11+
- id: facebook
12+
url: 'https://www.facebook.com/sharer.php?u={url}&t={title}'
13+
title: Facebook
14+
icon: brands/facebook
15+
enable: true
16+
- id: email
17+
url: 'mailto:?subject={title}&body={url}'
18+
title: Email
19+
icon: hero/at-symbol
20+
enable: true
21+
- id: linkedin
22+
url: 'https://www.linkedin.com/shareArticle?url={url}&title={title}'
23+
title: LinkedIn
24+
icon: brands/linkedin
25+
enable: true
26+
- id: whatsapp
27+
url: 'whatsapp://send?text={title}%20{url}'
28+
title: WhatsApp
29+
icon: brands/whatsapp
30+
enable: true
31+
# - id: weibo
32+
# url: 'https://service.weibo.com/share/share.php?url={url}&title={title}'
33+
# title: Weibo
34+
# icon: weibo
35+
# enable: true
36+
# - id: reddit
37+
# url: 'https://reddit.com/submit?url={url}&title={title}'
38+
# title: Reddit
39+
# icon: reddit-alien
40+
# enable: false
41+
# - id: pinterest
42+
# url: 'https://pinterest.com/pin/create/link/?url={url}&description={title}'
43+
# title: Pinterest
44+
# icon: pinterest
45+
# enable: false
46+
# - id: xing
47+
# url: 'https://www.xing.com/spi/shares/new?url={url}&title={title}'
48+
# title: Xing
49+
# icon: xing
50+
# enable: false
51+
# - id: tumblr
52+
# url: 'https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}'
53+
# title: Tumblr
54+
# icon: tumblr
55+
# enable: false

0 commit comments

Comments
 (0)