diff --git a/modules/pages/config.go b/modules/pages/config.go index 40e7f3a7a8..db8aac463e 100644 --- a/modules/pages/config.go +++ b/modules/pages/config.go @@ -194,7 +194,7 @@ type FooterLink struct { // SocialLink represents a social media link type SocialLink struct { - Platform string `yaml:"platform,omitempty"` // twitter, github, discord, linkedin, youtube + Platform string `yaml:"platform,omitempty"` // bluesky, discord, facebook, github, instagram, linkedin, mastodon, reddit, rss, substack, threads, tiktok, twitch, twitter, youtube URL string `yaml:"url,omitempty"` } diff --git a/templates/pages/bold-marketing.tmpl b/templates/pages/bold-marketing.tmpl index e59565e97f..cb6e7d1552 100644 --- a/templates/pages/bold-marketing.tmpl +++ b/templates/pages/bold-marketing.tmpl @@ -1498,10 +1498,20 @@ {{range .Config.Footer.Social}} {{if eq .Platform "twitter"}}{{svg "octicon-mention" 18}} + {{else if eq .Platform "bluesky"}}{{svg "octicon-cloud" 18}} {{else if eq .Platform "github"}}{{svg "octicon-mark-github" 18}} {{else if eq .Platform "discord"}}{{svg "octicon-comment-discussion" 18}} {{else if eq .Platform "linkedin"}}{{svg "octicon-briefcase" 18}} {{else if eq .Platform "youtube"}}{{svg "octicon-video" 18}} + {{else if eq .Platform "instagram"}}{{svg "octicon-device-camera" 18}} + {{else if eq .Platform "facebook"}}{{svg "octicon-people" 18}} + {{else if eq .Platform "substack"}}{{svg "octicon-note" 18}} + {{else if eq .Platform "threads"}}{{svg "octicon-share" 18}} + {{else if eq .Platform "tiktok"}}{{svg "octicon-play" 18}} + {{else if eq .Platform "reddit"}}{{svg "octicon-hash" 18}} + {{else if eq .Platform "mastodon"}}{{svg "octicon-megaphone" 18}} + {{else if eq .Platform "twitch"}}{{svg "octicon-broadcast" 18}} + {{else if eq .Platform "rss"}}{{svg "octicon-rss" 18}} {{else}}{{svg "octicon-link-external" 18}}{{end}} {{end}} diff --git a/templates/pages/minimalist-docs.tmpl b/templates/pages/minimalist-docs.tmpl index 2c4cd44342..42f2d9cdb9 100644 --- a/templates/pages/minimalist-docs.tmpl +++ b/templates/pages/minimalist-docs.tmpl @@ -1365,10 +1365,20 @@ {{range .Config.Footer.Social}} {{if eq .Platform "twitter"}}{{svg "octicon-mention" 16}} + {{else if eq .Platform "bluesky"}}{{svg "octicon-cloud" 16}} {{else if eq .Platform "github"}}{{svg "octicon-mark-github" 16}} {{else if eq .Platform "discord"}}{{svg "octicon-comment-discussion" 16}} {{else if eq .Platform "linkedin"}}{{svg "octicon-briefcase" 16}} {{else if eq .Platform "youtube"}}{{svg "octicon-video" 16}} + {{else if eq .Platform "instagram"}}{{svg "octicon-device-camera" 16}} + {{else if eq .Platform "facebook"}}{{svg "octicon-people" 16}} + {{else if eq .Platform "substack"}}{{svg "octicon-note" 16}} + {{else if eq .Platform "threads"}}{{svg "octicon-share" 16}} + {{else if eq .Platform "tiktok"}}{{svg "octicon-play" 16}} + {{else if eq .Platform "reddit"}}{{svg "octicon-hash" 16}} + {{else if eq .Platform "mastodon"}}{{svg "octicon-megaphone" 16}} + {{else if eq .Platform "twitch"}}{{svg "octicon-broadcast" 16}} + {{else if eq .Platform "rss"}}{{svg "octicon-rss" 16}} {{else}}{{svg "octicon-link-external" 16}}{{end}} {{end}} diff --git a/templates/pages/open-source-hero.tmpl b/templates/pages/open-source-hero.tmpl index cabab30635..b12674d362 100644 --- a/templates/pages/open-source-hero.tmpl +++ b/templates/pages/open-source-hero.tmpl @@ -1365,10 +1365,20 @@ {{range .Config.Footer.Social}} {{if eq .Platform "twitter"}}{{svg "octicon-mention" 16}} + {{else if eq .Platform "bluesky"}}{{svg "octicon-cloud" 16}} {{else if eq .Platform "github"}}{{svg "octicon-mark-github" 16}} {{else if eq .Platform "discord"}}{{svg "octicon-comment-discussion" 16}} {{else if eq .Platform "linkedin"}}{{svg "octicon-briefcase" 16}} {{else if eq .Platform "youtube"}}{{svg "octicon-video" 16}} + {{else if eq .Platform "instagram"}}{{svg "octicon-device-camera" 16}} + {{else if eq .Platform "facebook"}}{{svg "octicon-people" 16}} + {{else if eq .Platform "substack"}}{{svg "octicon-note" 16}} + {{else if eq .Platform "threads"}}{{svg "octicon-share" 16}} + {{else if eq .Platform "tiktok"}}{{svg "octicon-play" 16}} + {{else if eq .Platform "reddit"}}{{svg "octicon-hash" 16}} + {{else if eq .Platform "mastodon"}}{{svg "octicon-megaphone" 16}} + {{else if eq .Platform "twitch"}}{{svg "octicon-broadcast" 16}} + {{else if eq .Platform "rss"}}{{svg "octicon-rss" 16}} {{else}}{{svg "octicon-link-external" 16}}{{end}} {{end}} diff --git a/templates/pages/saas-conversion.tmpl b/templates/pages/saas-conversion.tmpl index 68602e3d5a..c0f710e08b 100644 --- a/templates/pages/saas-conversion.tmpl +++ b/templates/pages/saas-conversion.tmpl @@ -1504,10 +1504,20 @@ {{range .Config.Footer.Social}} {{if eq .Platform "twitter"}}{{svg "octicon-mention" 18}} + {{else if eq .Platform "bluesky"}}{{svg "octicon-cloud" 18}} {{else if eq .Platform "github"}}{{svg "octicon-mark-github" 18}} {{else if eq .Platform "discord"}}{{svg "octicon-comment-discussion" 18}} {{else if eq .Platform "linkedin"}}{{svg "octicon-briefcase" 18}} {{else if eq .Platform "youtube"}}{{svg "octicon-video" 18}} + {{else if eq .Platform "instagram"}}{{svg "octicon-device-camera" 18}} + {{else if eq .Platform "facebook"}}{{svg "octicon-people" 18}} + {{else if eq .Platform "substack"}}{{svg "octicon-note" 18}} + {{else if eq .Platform "threads"}}{{svg "octicon-share" 18}} + {{else if eq .Platform "tiktok"}}{{svg "octicon-play" 18}} + {{else if eq .Platform "reddit"}}{{svg "octicon-hash" 18}} + {{else if eq .Platform "mastodon"}}{{svg "octicon-megaphone" 18}} + {{else if eq .Platform "twitch"}}{{svg "octicon-broadcast" 18}} + {{else if eq .Platform "rss"}}{{svg "octicon-rss" 18}} {{else}}{{svg "octicon-link-external" 18}}{{end}} {{end}} diff --git a/templates/repo/settings/pages_footer.tmpl b/templates/repo/settings/pages_footer.tmpl index 827dc8722d..17ebde9025 100644 --- a/templates/repo/settings/pages_footer.tmpl +++ b/templates/repo/settings/pages_footer.tmpl @@ -48,10 +48,20 @@
@@ -63,10 +73,20 @@
@@ -102,7 +122,7 @@ } function addSocial() { const c = document.getElementById('social-container'); - c.insertAdjacentHTML('beforeend', `
`); + c.insertAdjacentHTML('beforeend', `
`); socialCount++; } function prependCopyright() {