De parameter social is een set sleutel-waardeparen van sociale links die platforms koppelen aan hun gebruikersidentificatie. Het ondersteunt vele populaire sociale platforms, zoals Twitter, Facebook, Reddit en GitHub. Dit artikel geeft een overzicht van alle ondersteunde platforms en hoe je ze gebruikt.

Gebruik

Er zijn drie plaatsen waar je sociale links kunt plaatsen: de bovenste app-balk, de Auteurswidget en de voettekst.

Bovenste App-balk

params.toml

1[topAppBar]
2  [topAppBar.social]
3    github = 'foobar'

params.yaml

1topAppBar:
2  social:
3    github: foobar

params.json

1{
2   "topAppBar": {
3      "social": {
4         "github": "foobar"
5      }
6   }
7}

Auteurswidget

Stel sociale links in door het bestand config/_default/params.toml te bewerken met de volgende inhoud:

1[author.social]
2  email = "user@domain.tld"
3  github = "githubusername"

Voettekst

Stel sociale links in door de volgende inhoud toe te voegen aan config/_default/params.toml.

1[social]
2email = "user@domain.tld"
3github = "githubusername"

Platforms

De waarde kan worden gewijzigd naar een volledige URL indien nodig.

PlatformGebruikersidentificatie
emailE-mailadres
facebookFacebook-gebruikersnaam
facebookgroupFacebook-groepsnaam
githubGitHub-gebruikersnaam
gitlabGitLab-gebruikersnaam
instagramInstagram-gebruikersnaam
itchioitch.io-gebruikersnaam
linkedinLinkedIn-gebruikersnaam
quoraQuora-gebruikersnaam
stackoverflowStack Overflow-gebruikers-ID
tumblrTumblr-gebruikersnaam
twitterTwitter-gebruikersnaam
weiboWeibo-gebruikersnaam
zhihuZhihu-gebruikersnaam
redditReddit-gebruikersnaam
telegramTelegram-gebruikersnaam
qqQQ-nummer
dockerhubDocker Hub-gebruikersnaam
bitbucketBitbucket-werkruimte-ID
kaggleKaggle-gebruikersnaam
mediumMedium-gebruikersnaam of aangepast domein (bijv. https://razonyang.com)
lastfmLast.fm-gebruikersnaam
bibibiliBiliBili-gebruikers-ID
youtubeYouTube-kanaal-ID
discordDiscord-uitnodigingscode
discourseForum-URL
tiktokTikTok-gebruikersnaam
pinterestPinterest-gebruikersnaam
mastodonMastodon-gebruikersnaam
liberapayLiberapay-gebruikersnaam
paypalPayPal-gebruikersnaam
patreonPatreon-gebruikersnaam
tipeeeTipeee-gebruikersnaam
rssLege string om de RSS-link uit te schakelen
websiteWebsite-URL