openGraph image now set properly to default image.

This commit is contained in:
2025-10-10 01:24:41 -04:00
parent 1a82e856d9
commit 1a57f3d143
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -297,7 +297,7 @@ dependencies = [
[[package]]
name = "bard"
version = "0.3.11"
version = "0.3.12"
dependencies = [
"dioxus",
"tavern",

View File

@ -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"

View File

@ -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} }