From 1a57f3d14362ac17bd2d6842ea578ed0acd45e3a Mon Sep 17 00:00:00 2001 From: Myrddin Dundragon Date: Fri, 10 Oct 2025 01:24:41 -0400 Subject: [PATCH] openGraph image now set properly to default image. --- Cargo.lock | 2 +- bard/Cargo.toml | 2 +- bard/src/components/post.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c9b2651..ccf4fa6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -297,7 +297,7 @@ dependencies = [ [[package]] name = "bard" -version = "0.3.11" +version = "0.3.12" dependencies = [ "dioxus", "tavern", diff --git a/bard/Cargo.toml b/bard/Cargo.toml index 7ae14ff..d3b41a1 100644 --- a/bard/Cargo.toml +++ b/bard/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bard" -version = "0.3.11" +version = "0.3.12" edition = "2024" description = "Dioxus components that will display a Tavern blogging system Blog." repository = "/CyberMages/tavern" diff --git a/bard/src/components/post.rs b/bard/src/components/post.rs index cecc82f..c7a474b 100644 --- a/bard/src/components/post.rs +++ b/bard/src/components/post.rs @@ -75,7 +75,7 @@ pub fn PostHeader(tale: Tale) -> Element document::Meta { property: "og:url", content: "{url}" } if let Some(image) = settings.default_post_image { - document::Meta { property: "og:image", content: image } + document::Meta { property: "og:image", content: "{image}" } } h1 { {tale.lore.title} }