diff options
author | Bing-Sheng Chen <gundamew@gmail.com> | 2018-12-18 11:28:43 +0300 |
---|---|---|
committer | Bing-Sheng Chen <gundamew@gmail.com> | 2018-12-18 11:28:43 +0300 |
commit | 1a5e91d7705901d5ef7b0bafe5011df59fe6e27c (patch) | |
tree | a418868016b478eb9d0e4ff962e64e79f7ced2ab /exampleSite | |
parent | 88c00b4203c8ea4ec712251d9b9f94a0acb0a99c (diff) |
Change the way to display social networksv1.3.0
1. Add more social icons
2. Sort social networks in config file
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index aaffdb9..f905fbd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -27,11 +27,26 @@ googleAnalytics = "UA-123-45" weight = 20 [params] - email = "username@domain" - github = "github_username" - linkedin = "linkedin_username" - medium = "medium_username" - twitter = "twitter_username" - facebook = "facebook_username" - instagram = "instagram_username" - stackoverflow = "stackoverflow_user_number" + + [params.gravatar] + email = "hugo@example.com" + + [[params.social]] + icon = "github" + url = "https://github.com/example" + weight = 10 + + [[params.social]] + icon = "twitter" + url = "https://twitter.com/example" + weight = 30 + + [[params.social]] + icon = "stackoverflow" + url = "https://stackoverflow.com/story/example" + weight = 40 + + [[params.social]] + icon = "linkedin" + url = "https://www.linkedin.com/in/example" + weight = 20 |