Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun authored Dec 4, 2019
1 parent 56efa79 commit 16a69c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/docusaurus-1.x/examples/basics/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class HomeSplash extends React.Component {

const ProjectTitle = props => (
<h2 className="projectTitle">
{props.siteConfig.title}
<small>{props.siteConfig.tagline}</small>
{props.title}
<small>{props.tagline}</small>
</h2>
);

Expand All @@ -62,7 +62,7 @@ class HomeSplash extends React.Component {
<SplashContainer>
<Logo img_src={`${baseUrl}img/undraw_monitor.svg`} />
<div className="inner">
<ProjectTitle siteConfig={siteConfig} />
<ProjectTitle tagline={siteConfig.tagline} title={siteConfig.title} />
<PromoSection>
<Button href="#try">Try It Out</Button>
<Button href={docUrl('doc1.html')}>Example Link</Button>
Expand Down

0 comments on commit 16a69c2

Please sign in to comment.