From 2c108d36cbe9fba8127b308eb12edbfeaa13bc90 Mon Sep 17 00:00:00 2001 From: Ricky Vetter Date: Fri, 22 Sep 2017 06:58:07 -0700 Subject: [PATCH] Use project title for example (#84) Small change to keep the example file usable for whichever project it's inserted into. * do baseUrl too --- examples/basics/pages/en/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/basics/pages/en/index.js b/examples/basics/pages/en/index.js index ae247c054b..c621838e4a 100755 --- a/examples/basics/pages/en/index.js +++ b/examples/basics/pages/en/index.js @@ -30,7 +30,7 @@ class HomeSplash extends React.Component {
- +

@@ -99,13 +99,13 @@ class Index extends React.Component { contents={[ { content: "This is the content of my feature", - image: "/test-site/img/docusaurus.svg", + image: siteConfig.baseUrl + "img/docusaurus.svg", imageAlign: "top", title: "Feature One" }, { content: "The content of my second feature", - image: "/test-site/img/docusaurus.svg", + image: siteConfig.baseUrl + "img/docusaurus.svg", imageAlign: "top", title: "Feature Two" } @@ -127,7 +127,7 @@ class Index extends React.Component { contents={[ { content: "Talk about learning how to use this", - image: "/test-site/img/docusaurus.svg", + image: siteConfig.baseUrl + "img/docusaurus.svg", imageAlign: "right", title: "Learn How" } @@ -140,7 +140,7 @@ class Index extends React.Component { contents={[ { content: "Talk about trying this out", - image: "/test-site/img/docusaurus.svg", + image: siteConfig.baseUrl + "img/docusaurus.svg", imageAlign: "left", title: "Try it Out" } @@ -154,7 +154,7 @@ class Index extends React.Component { { content: "This is another description of how this project is useful", - image: "/test-site/img/docusaurus.svg", + image: siteConfig.baseUrl + "img/docusaurus.svg", imageAlign: "right", title: "Description" } @@ -177,7 +177,7 @@ class Index extends React.Component { siteConfig.baseUrl + this.props.language + "/" + "users.html" } > - More Docusaurus Users + More {siteConfig.title} Users