🚧 🔧 Add social links setting with map structure because of the array structure can't sort by source.

This commit is contained in:
凡梦星尘
2022-05-08 11:09:51 +08:00
parent cf923ad102
commit a58145a05f
6 changed files with 94 additions and 67 deletions

View File

@@ -81,13 +81,30 @@ params:
# If true, the avatar will be rotated with the cursor.
rotated: true
# Social Links
# Usage: `Key: permalink || icon`
# Key is the link label showing to end users.
# Value before `||` delimiter is the target permalink, value after `||` delimiter is the name of Font Awesome icon.
socials: [
{ "GitHub": "https://github.com/yourname || fab fa-github" },
{ "E-Mail": "mailto:yourname@gmail.com || fa fa-envelope" }
# {"Weibo": "https://weibo.com/yourname || fab fa-weibo"},
# {"Google": "https://plus.google.com/yourname || fab fa-google"},
# {"Twitter": "https://twitter.com/yourname || fab fa-twitter"},
# {"FB Page": "https://www.facebook.com/yourname || fab fa-facebook"},
# {"StackOverflow": "https://stackoverflow.com/yourname || fab fa-stack-overflow"},
# {"YouTube": "https://youtube.com/yourname || fab fa-youtube"},
# {"Instagram": "https://instagram.com/yourname || fab fa-instagram"},
# {"Skype": "skype:yourname?call|chat || fab fa-skype"}
]
# Creative Commons 4.0 International License.
# See: https://creativecommons.org/about/cclicenses/
creativeCommons:
# Available values: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | cc-zero
license: by-nc-nd
# Available values: big | small
size: big
size: small
sidebar: true
post: true
# You can set a language value if you prefer a translated version of CC license, e.g. deed.zh