From 27f4bf07bcbc7e8f2ca29d025a91eb776a82d9ec Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 6 Feb 2023 22:35:51 +0800 Subject: [PATCH] style: format YAML array --- _data/contact.yml | 27 +++++++++++++-------------- _data/share.yml | 18 ++++++++---------- 2 files changed, 21 insertions(+), 24 deletions(-) diff --git a/_data/contact.yml b/_data/contact.yml index a94e555..971969e 100644 --- a/_data/contact.yml +++ b/_data/contact.yml @@ -1,30 +1,29 @@ # The contact options. -- - type: github +- type: github icon: 'fab fa-github' -- - type: twitter + +- type: twitter icon: 'fab fa-twitter' -- - type: email + +- type: email icon: 'fas fa-envelope' noblank: true # open link in current tab -- - type: rss + +- type: rss icon: 'fas fa-rss' noblank: true # Uncomment and complete the url below to enable more contact options -# - -# type: mastodon +# +# - type: mastodon # icon: 'fab fa-mastodon' # icons powered by # 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 # url: '' # Fill with your Linkedin homepage -# - -# type: stack-overflow +# +# - type: stack-overflow # icon: 'fab fa-stack-overflow' # url: '' # Fill with your stackoverflow homepage diff --git a/_data/share.yml b/_data/share.yml index 1206f4d..c1d4d63 100644 --- a/_data/share.yml +++ b/_data/share.yml @@ -2,26 +2,24 @@ # Icons from platforms: - - - type: Twitter + - type: Twitter icon: "fab fa-twitter" link: "https://twitter.com/intent/tweet?text=TITLE&url=URL" - - - type: Facebook + + - type: Facebook icon: "fab fa-facebook-square" link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL" - - - type: Telegram + + - type: Telegram icon: "fab fa-telegram" link: "https://t.me/share/url?url=URL&text=TITLE" # Uncomment below if you need to. - # - - # type: Linkedin + # + # - type: Linkedin # icon: "fab fa-linkedin" # link: "https://www.linkedin.com/sharing/share-offsite/?url=URL" # - # - - # type: Weibo + # - type: Weibo # icon: "fab fa-weibo" # link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"