Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrmaguiar <rmaguiar@tuta.io>2020-07-08 01:53:06 +0300
committerrmaguiar <rmaguiar@tuta.io>2020-07-08 01:53:06 +0300
commitec1adfd5b89444445e74a394bc06b4c03a9c3f1a (patch)
tree80da3a727aeb62e5d354ea880a9eb7e04cd4b05e /README.md
parentc6b316091bd2cb3e6f5fd046999a54cd18f553d2 (diff)
Update social shortcode and minor changes
* Update social shortcode. It should be easier to add new platforms now * Add Flickr, PeerTube, Strava, Twitch, Vimeo, WhatsApp and YouTube * Other minor changes
Diffstat (limited to 'README.md')
-rw-r--r--README.md50
1 files changed, 30 insertions, 20 deletions
diff --git a/README.md b/README.md
index b9ad0aa..e21e97f 100644
--- a/README.md
+++ b/README.md
@@ -138,33 +138,44 @@ Here's an example of config file:
```toml
[params.social.centralized]
- facebook = [ "https://facebook.com/nowaythiswastaken", "Zuckerburg" ]
- github = [ "https://github.com/nowaythiswastaken" ]
- gitlab = [ "https://gitlab.com/nowaythiswastaken" ]
- instagram = [ "https://instagram.com/nowaythiswastaken" ]
- keybase = [ "https://keybase.io/nowaythiswastaken" ]
- linkedin = [ "https://www.linkedin.com/in/nowaythiswastaken" ]
- medium = [ "https://medium.com/@nowaythiswastaken" ]
- reddit = [ "https://www.reddit.com/user/nowaythiswastaken" ]
- stackOverflow = [ "https://stackoverflow.com/users/0000000/nowaythiswastaken" ]
- telegram = [ "https://t.me/nowaythiswastaken" ]
- twitter = [ "https://twitter.com/nowaythiswastaken", "@nowaythiswastaken" ]
- #entry = [ "url", "label (optional)" ]
+ facebook = [ "<username>", "Zuckerburg" ]
+ flickr = [ "<username>" ]
+ github = [ "<username>" ]
+ gitlab = [ "<username>" ]
+ instagram = [ "<username>" ]
+ keybase = [ "<username>" ]
+ linkedin = [ "<username>" ]
+ medium = [ "<username>" ]
+ reddit = [ "<username>" ]
+ stackOverflow = [ "<username>" ]
+ strava = [ "<username>" ]
+ telegram = [ "<username>" ]
+ twitch = [ "<username>" ]
+ twitter = [ "<username>", "@birb" ]
+ vimeo = [ "<username>" ]
+ whatsapp = [ "<number>" ]
+ youtube = [ "<channelid>" ]
+ #entry = [ "username", "label (optional)" ]
- # The "entry" here IS important. It's used to load the icon.
+ # The "entry" here IS important. It's used to load the data.
[params.social.decentralized]
[params.social.decentralized.mastodon]
- 1 = [ "https://mastodon.social/@nowaythiswastaken", "mastodon.social" ]
- 2 = [ "https://mastodon.too/@nowaythiswastaken", "mastodon.too" ]
- 3 = [ "https://yet.another.one/@nowaythiswastaken", "yet.another.one" ]
- #entry = [ "url", "label (required)" ]
+ 1 = [ "https://mastodon.social/<username>", "mastodon.social" ]
+ 2 = [ "https://mastodon.too/<username>", "mastodon.too" ]
+ 3 = [ "https://yet.another.one/<username>", "yet.another.one" ]
+ #entry = [ "full url", "label (required)" ]
[params.social.decentralized.matrix]
- 1 = [ "https://matrix.to/#/@nowaythiswastaken:matrix.org", "matrix.org" ]
- #entry = [ "url", "label (required)" ]
+ 1 = [ "https://matrix.to/#/<username>:matrix.org", "matrix.org" ]
+ 2 = [ "https://matrix.to/#/<username>:other.org", "other.org" ]
+ #entry = [ "full url", "label (required)" ]
+ [params.social.decentralized.peertube]
+ 1 = [ "https://peertube.something/accounts/<username>", "peertube.something" ]
+ #entry = [ "full url", "label (required)" ]
+
# The "entry" here ISN'T important. It's used for nothing.
```
@@ -172,7 +183,6 @@ This information will also be used to generate social meta tags (ie.: rel="me" a
Alternatively, you can have these params in the front matter of any page.
-
### Contact form
```toml