mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-01-18 11:47:01 -08:00
add description to the blog posts' head data
This commit is contained in:
parent
4040a50f70
commit
a186410eef
1 changed files with 2 additions and 0 deletions
|
@ -98,10 +98,12 @@ impl ResourceMethods<BlogPostTemplateData> for ResourceMetadata<BlogPostMetadata
|
|||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="{}">
|
||||
<meta name="twitter:image" content="{}">
|
||||
<meta name="og:description" content={}">
|
||||
"#,
|
||||
site_config.title,
|
||||
self.title,
|
||||
self.inner.get_header_image(site_config)?,
|
||||
self.inner.desc,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue