1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-16 19:14:08 +02:00

Fix missing title

This commit is contained in:
Phuoc Nguyen
2021-04-18 13:05:58 +07:00
parent 8f57c6682f
commit 8058b590ee
4 changed files with 12 additions and 16 deletions

View File

@@ -26,7 +26,8 @@ const DetailsLayout: React.FC<DetailsLayoutProps> = ({ pattern, children }) => {
return (
<Layout>
<Helmet>
<meta name="title" content={`CSS Layout ∙ ${pattern}`} />
<title>CSS Layout {pattern}</title>
<meta name="title" content={`CSS Layout ∙ ${pattern}`} />
<meta property="og:image" content={`https://csslayout.io/assets/patterns/${patternSlug}.png`} />
<meta property="og:title" content={`CSS Layout ∙ ${pattern}`} />