From 8ea96eafa1729af188f5e58ca4eb4029b67f0550 Mon Sep 17 00:00:00 2001 From: Miley Chandonnet Date: Thu, 12 Feb 2026 20:53:34 -0500 Subject: [PATCH] Add Open Graph and Twitter Card meta tags for social previews Adds Open Graph and Twitter Card meta tags to the HTML head with site-level defaults. Implements dynamic meta tag updates in the frontend router so page-specific content (blog post titles, excerpts, images, and URLs) is reflected in the DOM for modern crawlers. Fixes social preview badges displaying incomplete information. Co-Authored-By: Claude Opus 4.6 --- src/commonMain/resources/index.html | 14 +++++ src/jsMain/kotlin/codes/miley/frontend/App.kt | 56 +++++++++++++++++-- 2 files changed, 66 insertions(+), 4 deletions(-) diff --git a/src/commonMain/resources/index.html b/src/commonMain/resources/index.html index ff36096..7d5cb20 100644 --- a/src/commonMain/resources/index.html +++ b/src/commonMain/resources/index.html @@ -5,6 +5,20 @@ Miley Chandonnet + + + + + + + + + + + + + +