git: 78cfea4ae9 - main - website: Remove Twitter cards

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Sun, 06 Sep 2026 12:55:35 UTC
The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/doc/commit/?id=78cfea4ae979787c48cf8f528379a3a9399d6a5a

commit 78cfea4ae979787c48cf8f528379a3a9399d6a5a
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-09-06 12:17:56 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-09-06 12:30:48 +0000

    website: Remove Twitter cards
    
    The website previously contained metadata to format links on Twitter.
    This incorrectly tags everything on the site as docs.freebsd.org, and
    is attempting to cater to a closed platform that is not related to us.
    
    Discussed with:         bofh, wosch
    Event:                  Berlin Hackathon 202609
---
 documentation/themes/beastie/layouts/_partials/site-head.html | 4 ----
 website/themes/beastie/layouts/_partials/site-head.html       | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/documentation/themes/beastie/layouts/_partials/site-head.html b/documentation/themes/beastie/layouts/_partials/site-head.html
index da46c69f17..fc7115cde3 100644
--- a/documentation/themes/beastie/layouts/_partials/site-head.html
+++ b/documentation/themes/beastie/layouts/_partials/site-head.html
@@ -45,10 +45,6 @@
 
   <!-- SEO -->
   {{ if $.Site.Params.isOnline }}
-    <meta name="twitter:card" content="summary"/>
-    <meta name="twitter:domain" content="docs.FreeBSD.org"/>
-    <meta name="twitter:site" content="@freebsd"/>
-    <meta name="twitter:url" content="https://twitter.com/freebsd"/>
     <meta property="og:title" content="{{ if .IsHome }}{{ .Site.Params.Title }}{{ else }}{{ .Title }}{{ end }}" />
     <meta property="og:description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" />
     <meta property="og:type" content="website"/>
diff --git a/website/themes/beastie/layouts/_partials/site-head.html b/website/themes/beastie/layouts/_partials/site-head.html
index 57d802b266..9e99e4ed73 100644
--- a/website/themes/beastie/layouts/_partials/site-head.html
+++ b/website/themes/beastie/layouts/_partials/site-head.html
@@ -20,10 +20,6 @@
   <link rel="stylesheet" href="{{ $styles.RelPermalink }}">
   <link rel="stylesheet" href="{{ "css/font-awesome-min.css" | relURL }}">
 
-  <meta name="twitter:card" content="summary">
-  <meta name="twitter:domain" content="docs.FreeBSD.org">
-  <meta name="twitter:site" content="@freebsd">
-  <meta name="twitter:url" content="https://twitter.com/freebsd">
   <meta property="og:title" content="{{ if .IsHome }} {{ .Site.Params.Title }} {{ else }} {{ .Title }} {{ end }}" >
   <meta property="og:description" content="{{ if .IsHome }} {{ .Site.Params.description }} {{ else }} {{ .Description }} {{ end }}" >
   <meta property="og:type" content="website">