From fe856950ca85725f99eb4c217720e66b6be9e74a Mon Sep 17 00:00:00 2001 From: Igor Dejanovic Date: Thu, 5 Jan 2023 21:20:23 +0100 Subject: [PATCH] add [feature]: mastodon in social menu Based on https://github.com/MunifTanjim/minimo/pull/225 --- data/config/default/widgets.toml | 2 +- data/theme.toml | 1 + exampleSite/config.toml | 1 + layouts/partials/svg/content/mastodon.svg | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/svg/content/mastodon.svg diff --git a/data/config/default/widgets.toml b/data/config/default/widgets.toml index 790a0a93..47751022 100644 --- a/data/config/default/widgets.toml +++ b/data/config/default/widgets.toml @@ -21,7 +21,7 @@ mirror = "" [social_menu] title = "" -platforms = ["github","facebook","twitter","instagram","email","codepen","gitlab","linkedin","telegram","google_scholar","youtube"] +platforms = ["github","facebook","mastodon", "twitter","instagram","email","codepen","gitlab","linkedin","telegram","google_scholar","youtube"] [taxonomy_cloud] title = "" diff --git a/data/theme.toml b/data/theme.toml index a9610b76..7db29b95 100644 --- a/data/theme.toml +++ b/data/theme.toml @@ -6,6 +6,7 @@ github = "https://github.com/" gitlab = "https://gitlab.com/" instagram = "https://instagram.com/" linkedin = "https://linkedin.com/in/" +mastodon = "https://" twitter = "https://twitter.com/" telegram = "https://t.me/" google_scholar = "https://scholar.google.com/citations?user=" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7606b06d..82f72f42 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -79,6 +79,7 @@ github = "MunifTanjim" gitlab = "MunifTanjim" instagram = "MunifTanjim" linkedin = "muniftanjim" +mastodon = "" twitter = "MunifTanjim" telegram = "MunifTanjim" google_scholar = "qc6CJjYAAAAJ" diff --git a/layouts/partials/svg/content/mastodon.svg b/layouts/partials/svg/content/mastodon.svg new file mode 100644 index 00000000..9f18a707 --- /dev/null +++ b/layouts/partials/svg/content/mastodon.svg @@ -0,0 +1 @@ +