add description to the blog posts' head data

This commit is contained in:
zyl 2023-11-12 21:02:59 -08:00
parent 4040a50f70
commit a186410eef
No known key found for this signature in database
GPG key ID: 8611B896D1AAFAF2

View file

@ -98,10 +98,12 @@ impl ResourceMethods<BlogPostTemplateData> for ResourceMetadata<BlogPostMetadata
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{}"> <meta name="twitter:title" content="{}">
<meta name="twitter:image" content="{}"> <meta name="twitter:image" content="{}">
<meta name="og:description" content={}">
"#, "#,
site_config.title, site_config.title,
self.title, self.title,
self.inner.get_header_image(site_config)?, self.inner.get_header_image(site_config)?,
self.inner.desc,
)) ))
} }
} }