mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
Merge pull request #10 from sdwilsh/use-baseUrl-more
Use the siteConfig more
This commit is contained in:
commit
a66f0a72fd
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ class HomeSplash extends React.Component {
|
|||
<div className="inner">
|
||||
<h2 className="projectTitle">
|
||||
{siteConfig.title}
|
||||
<small>My Tagline</small>
|
||||
<small>{siteConfig.tagline}</small>
|
||||
</h2>
|
||||
<div className="section promoSection">
|
||||
<div className="promoRow">
|
||||
|
@ -52,14 +52,14 @@ class HomeSplash extends React.Component {
|
|||
<Button href="#try">Try It Out</Button>
|
||||
<Button
|
||||
href={
|
||||
"/test-site/docs/" + this.props.language + "/doc1.html"
|
||||
siteConfig.baseUrl + "docs/" + this.props.language + "/doc1.html"
|
||||
}
|
||||
>
|
||||
Example Link
|
||||
</Button>
|
||||
<Button
|
||||
href={
|
||||
"/test-site/docs/" + this.props.language + "/doc2.html"
|
||||
siteConfig.baseUrl + "docs/" + this.props.language + "/doc2.html"
|
||||
}
|
||||
>
|
||||
Example Link 2
|
||||
|
|
Loading…
Add table
Reference in a new issue