mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 21:03:47 +02:00
feat(v2): add more essential meta tags (#1651)
* feat(v2): add more essential meta tags * nits tagline
This commit is contained in:
parent
ee2050d612
commit
ca67cad2a7
3 changed files with 7 additions and 2 deletions
|
@ -37,6 +37,9 @@ function Layout(props) {
|
|||
return (
|
||||
<React.Fragment>
|
||||
<Head>
|
||||
<meta charSet="utf-8" />
|
||||
<meta httpEquiv="x-ua-compatible" content="ie=edge" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
{metaTitle && <title>{metaTitle}</title>}
|
||||
{metaTitle && <meta property="og:title" content={metaTitle} />}
|
||||
{favicon && <link rel="shortcut icon" href={withBaseUrl(favicon)} />}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
module.exports = {
|
||||
title: 'Docusaurus',
|
||||
tagline: '⚡️ Painless static site generator',
|
||||
tagline: '⚡️ Easy to Maintain React Static Site Generator',
|
||||
organizationName: 'facebook',
|
||||
projectName: 'docusaurus',
|
||||
baseUrl: '/',
|
||||
|
|
|
@ -67,7 +67,9 @@ function Home() {
|
|||
return (
|
||||
<Layout
|
||||
permalink={'/'}
|
||||
description={'Docusaurus makes it easy to build websites'}>
|
||||
description={
|
||||
'Docusaurus makes it easy and painless for you to build websites'
|
||||
}>
|
||||
<div className={styles['index-hero']}>
|
||||
<div className={styles['index-hero-inner']}>
|
||||
<h1 className={styles['index-hero-project-tagline']}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue