openGraph image now set properly to default image.
This commit is contained in:
@ -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"
|
||||
|
||||
@ -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} }
|
||||
|
||||
Reference in New Issue
Block a user