style: format YAML array

This commit is contained in:
Cotes Chung 2023-02-06 22:35:51 +08:00
parent 5cbaf24bcb
commit 27f4bf07bc
No known key found for this signature in database
GPG Key ID: 0D9E54843167A808
2 changed files with 21 additions and 24 deletions

View File

@ -1,30 +1,29 @@
# The contact options. # The contact options.
- - type: github
type: github
icon: 'fab fa-github' icon: 'fab fa-github'
-
type: twitter - type: twitter
icon: 'fab fa-twitter' icon: 'fab fa-twitter'
-
type: email - type: email
icon: 'fas fa-envelope' icon: 'fas fa-envelope'
noblank: true # open link in current tab noblank: true # open link in current tab
-
type: rss - type: rss
icon: 'fas fa-rss' icon: 'fas fa-rss'
noblank: true noblank: true
# Uncomment and complete the url below to enable more contact options # Uncomment and complete the url below to enable more contact options
# - #
# type: mastodon # - type: mastodon
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/> # icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification # url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
# - #
# type: linkedin # - type: linkedin
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/> # icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
# url: '' # Fill with your Linkedin homepage # url: '' # Fill with your Linkedin homepage
# - #
# type: stack-overflow # - type: stack-overflow
# icon: 'fab fa-stack-overflow' # icon: 'fab fa-stack-overflow'
# url: '' # Fill with your stackoverflow homepage # url: '' # Fill with your stackoverflow homepage

View File

@ -2,26 +2,24 @@
# Icons from <https://fontawesome.com/> # Icons from <https://fontawesome.com/>
platforms: platforms:
- - type: Twitter
type: Twitter
icon: "fab fa-twitter" icon: "fab fa-twitter"
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL" link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
-
type: Facebook - type: Facebook
icon: "fab fa-facebook-square" icon: "fab fa-facebook-square"
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL" link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
-
type: Telegram - type: Telegram
icon: "fab fa-telegram" icon: "fab fa-telegram"
link: "https://t.me/share/url?url=URL&text=TITLE" link: "https://t.me/share/url?url=URL&text=TITLE"
# Uncomment below if you need to. # Uncomment below if you need to.
# - #
# type: Linkedin # - type: Linkedin
# icon: "fab fa-linkedin" # icon: "fab fa-linkedin"
# link: "https://www.linkedin.com/sharing/share-offsite/?url=URL" # link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
# #
# - # - type: Weibo
# type: Weibo
# icon: "fab fa-weibo" # icon: "fab fa-weibo"
# link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL" # link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"