Skip to content

Commit 27f4bf0

Browse files
committed
style: format YAML array
1 parent 5cbaf24 commit 27f4bf0

2 files changed

Lines changed: 21 additions & 24 deletions

File tree

_data/contact.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
# The contact options.
22

3-
-
4-
type: github
3+
- type: github
54
icon: 'fab fa-github'
6-
-
7-
type: twitter
5+
6+
- type: twitter
87
icon: 'fab fa-twitter'
9-
-
10-
type: email
8+
9+
- type: email
1110
icon: 'fas fa-envelope'
1211
noblank: true # open link in current tab
13-
-
14-
type: rss
12+
13+
- type: rss
1514
icon: 'fas fa-rss'
1615
noblank: true
1716

1817
# Uncomment and complete the url below to enable more contact options
19-
# -
20-
# type: mastodon
18+
#
19+
# - type: mastodon
2120
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
2221
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
23-
# -
24-
# type: linkedin
22+
#
23+
# - type: linkedin
2524
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
2625
# url: '' # Fill with your Linkedin homepage
27-
# -
28-
# type: stack-overflow
26+
#
27+
# - type: stack-overflow
2928
# icon: 'fab fa-stack-overflow'
3029
# url: '' # Fill with your stackoverflow homepage

_data/share.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,24 @@
22
# Icons from <https://fontawesome.com/>
33

44
platforms:
5-
-
6-
type: Twitter
5+
- type: Twitter
76
icon: "fab fa-twitter"
87
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
9-
-
10-
type: Facebook
8+
9+
- type: Facebook
1110
icon: "fab fa-facebook-square"
1211
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
13-
-
14-
type: Telegram
12+
13+
- type: Telegram
1514
icon: "fab fa-telegram"
1615
link: "https://t.me/share/url?url=URL&text=TITLE"
1716

1817
# Uncomment below if you need to.
19-
# -
20-
# type: Linkedin
18+
#
19+
# - type: Linkedin
2120
# icon: "fab fa-linkedin"
2221
# link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
2322
#
24-
# -
25-
# type: Weibo
23+
# - type: Weibo
2624
# icon: "fab fa-weibo"
2725
# link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"

0 commit comments

Comments
 (0)