From 412752b56b36d914ee0589eadcf4d9ac52affc1b Mon Sep 17 00:00:00 2001 From: hombresiniestro Date: Sun, 19 Aug 2018 19:51:36 +0200 Subject: [PATCH] Added mastodon social --- data/config/default/widgets.toml | 2 +- data/theme.toml | 1 + exampleSite/config.toml | 1 + layouts/partials/svg/icons.html | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/data/config/default/widgets.toml b/data/config/default/widgets.toml index b41cb457..777d70dd 100644 --- a/data/config/default/widgets.toml +++ b/data/config/default/widgets.toml @@ -17,7 +17,7 @@ mirror = "" [social_menu] title = "" -platforms = ["github","facebook","twitter","instagram","email","codepen","gitlab","linkedin","telegram","google_scholar","youtube"] +platforms = ["github","facebook","twitter","instagram","email","codepen","gitlab","linkedin","telegram","google_scholar","youtube","mastodon"] [taxonomy_cloud] title = "" diff --git a/data/theme.toml b/data/theme.toml index a9610b76..13fa47f0 100644 --- a/data/theme.toml +++ b/data/theme.toml @@ -10,3 +10,4 @@ twitter = "https://twitter.com/" telegram = "https://t.me/" google_scholar = "https://scholar.google.com/citations?user=" youtube = "https://www.youtube.com/channel/" +mastodon = "https://" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c07cf771..a6392a74 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -81,6 +81,7 @@ twitter = "MunifTanjim" telegram = "MunifTanjim" google_scholar = "qc6CJjYAAAAJ" youtube = "UCT-U0rNerYxItGcuoPX-WYA" +mastodon = "" [params.comments] enable = false diff --git a/layouts/partials/svg/icons.html b/layouts/partials/svg/icons.html index 8bc9d418..a179f383 100644 --- a/layouts/partials/svg/icons.html +++ b/layouts/partials/svg/icons.html @@ -54,6 +54,8 @@ {{ else if eq "twitter" . }} + {{ else if eq "mastodon" . }} + {{ else if eq "clock" . }}