diff --git a/data/config/default/widgets.toml b/data/config/default/widgets.toml index d69766c1..afa2f4dd 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","twitter","mastodon","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 e3891aae..d6ac1e8b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -84,6 +84,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..dce4f638 100644 --- a/layouts/partials/svg/icons.html +++ b/layouts/partials/svg/icons.html @@ -73,5 +73,7 @@ {{ else if eq "search" . }} + {{ else if eq "mastodon" . }} + {{ end }}