Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: landing page title duplication #4123

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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