From d01eb91363ad385fa62125976441ea71ceeb43ba Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 18 Apr 2026 20:22:10 +0200 Subject: feat: add Open Graph and Twitter Card meta tags for social sharing Implement comprehensive OG and Twitter Card support: - og:title, og:description, og:image, og:type (website/article) - og:article:published_time and og:article:author for article pages - twitter:card with summary_large_image, twitter:title, twitter:description, twitter:image - Per-page description from excerpt field with fallback to site description - Article-specific tags only rendered for pages with dates - Default dark thumbnail fallback when article has no image - Empty twitterHandle param (optional fill-in for users) Extracted head meta into new partial for maintainability. Co-Authored-By: Claude Haiku 4.5 --- hugo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'hugo.toml') diff --git a/hugo.toml b/hugo.toml index c20b617..ad31c86 100644 --- a/hugo.toml +++ b/hugo.toml @@ -109,6 +109,7 @@ enableRobotsTXT = true siteName = "danix.xyz" author = "Danilo Macrì" email = "danix@danix.xyz" + twitterHandle = "" # Theme options readingTime = true -- cgit v1.2.3