From 7421f6ba2d19b5ba22851b49c8b4ca8b7aeac39e Mon Sep 17 00:00:00 2001 From: Matt Pritchard Date: Thu, 28 Nov 2024 17:31:01 +0000 Subject: [PATCH] tweaks to socials --- config/_default/hugo.toml | 7 ------- config/_default/menus/menus.en.toml | 10 ++-------- config/_default/params.toml | 18 ++++++++---------- content/docs/getting-started/jasmin-status.md | 1 - .../managing-a-gws.md | 7 +++---- 5 files changed, 13 insertions(+), 30 deletions(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index d3ce21bc7..2db9f71ff 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -53,11 +53,6 @@ home = ["HTML", "RSS", "REDIR"] disabled = false simple = true - [privacy.twitter] - disabled = false - enableDNT = true - simple = true - [privacy.instagram] disabled = false simple = true @@ -69,8 +64,6 @@ home = ["HTML", "RSS", "REDIR"] [services] [services.instagram] disableInlineCSS = true - [services.twitter] - disableInlineCSS = true [services.googleAnalytics] ID = "G-JJZZ5F2KN4" diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml index abd16104c..9c56f6a47 100644 --- a/config/_default/menus/menus.en.toml +++ b/config/_default/menus/menus.en.toml @@ -23,20 +23,14 @@ # url = "" #beacon toggle? # weight = 60 -[[social]] - name = "X / Twitter" - pre = "fab fa-x-twitter" - url = "https://twitter.com/cedanews" - weight = 10 - [[social]] name = "YouTube" pre = "fab fa-youtube" url = "https://www.youtube.com/channel/UCYjSH2ET9nLMhDcXa5y2OMg" - weight = 20 + weight = 10 [[social]] name = "GitHub" pre = "fab fa-github" url = "https://github.com/cedadev" - weight = 30 + weight = 20 diff --git a/config/_default/params.toml b/config/_default/params.toml index 3955878e4..e8c08bb10 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -58,29 +58,23 @@ icon = "fab linkedin" weight = 10 -[[sharing.providers]] - name = "Twitter" - url = "https://twitter.com/home?status={url}" - icon = "fab x-twitter" - weight = 20 - [[sharing.providers]] name = "Facebook" url = "https://www.facebook.com/sharer.php?u={url}" icon = "fab facebook" - weight = 30 + weight = 20 [[sharing.providers]] name = "WhatsApp" url = "whatsapp://send?text={title}%20{url}" icon = "fab whatsapp" - weight = 40 + weight = 30 [[sharing.providers]] name = "email" url = "{url}" icon = "fas link" - weight = 50 + weight = 40 clipboard = true [sections] @@ -264,4 +258,8 @@ "sourceURL" = "https://raw.githubusercontent.com/cedadev/ceda-status/main/status.json" [beacon] - html = "

Beacon