Skip to content

Commit

Permalink
docs: update head config for nextra-theme-blog
Browse files Browse the repository at this point in the history
  • Loading branch information
geekplux committed Nov 8, 2021
1 parent 75386cc commit ab6f339
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/themes/blog/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ module.exports = withNextra()
// theme.config.js
export default {
footer: <p>MIT 2021 © Nextra.</p>,
head: (
head: ({ title, meta }) => (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Nextra: the next blog builder" />
<meta name="og:title" content="Nextra: the next blog builder" />
{meta.description && <meta name="description" content={meta.description} />}
{meta.tag && <meta name="keywords" content={meta.tag} />}
{meta.author && <meta name="author" content={meta.author} />}
</>
),
readMore: 'Read More →',
Expand Down

0 comments on commit ab6f339

Please sign in to comment.