feat(dioxus): added meta tags to most pages, now with the blog page
This commit is contained in:
parent
1bd70c4eb2
commit
f22456a72f
@ -37,6 +37,10 @@ pub fn Blog(blog_title: String) -> Element {
|
|||||||
rsx! {
|
rsx! {
|
||||||
document::Stylesheet { href: asset!("/assets/styling/blog.css") }
|
document::Stylesheet { href: asset!("/assets/styling/blog.css") }
|
||||||
document::Title { "Brock Tomlinson - {blog_title}" }
|
document::Title { "Brock Tomlinson - {blog_title}" }
|
||||||
|
set_meta_tags {
|
||||||
|
description: "{blog_title}",
|
||||||
|
keywords: "blog software engineer webdev {blog_title}",
|
||||||
|
}
|
||||||
div { id: "blog",
|
div { id: "blog",
|
||||||
|
|
||||||
// Content
|
// Content
|
||||||
|
Loading…
x
Reference in New Issue
Block a user