Skip to content

Commit

Permalink
fix: landing page title duplication (#4123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Goldberg committed Nov 11, 2021
1 parent 81b25c1 commit 844c25e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/website/docusaurus.config.js
Expand Up @@ -14,7 +14,7 @@ const githubUrl = 'https://github.com/typescript-eslint/typescript-eslint';

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'TypeScript ESLint ',
title: 'TypeScript ESLint',
tagline: 'Tooling which enables ESLint to support TypeScript',
url: 'https://typescript-eslint.io',
baseUrl: '/',
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/pages/index.tsx
Expand Up @@ -162,7 +162,7 @@ function Sponsors(props: {
function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
<Layout title={`${siteConfig.title}`} description={`${siteConfig.tagline}`}>
<Layout description={`${siteConfig.tagline}`}>
<header className={clsx('hero hero--dark', styles.hero)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
Expand Down

0 comments on commit 844c25e

Please sign in to comment.