diff --git a/www/src/templates/template-starter-page.js b/www/src/templates/template-starter-page.js index 144874dede332..575f18eff9a3f 100644 --- a/www/src/templates/template-starter-page.js +++ b/www/src/templates/template-starter-page.js @@ -9,6 +9,7 @@ import StarterHeader from "../views/starter/header" import StarterMeta from "../views/starter/meta" import StarterScreenshot from "../views/starter/screenshot" import StarterSource from "../views/starter/source" +import StarterInstallation from "../views/starter/installation" import StarterDetails from "../views/starter/details" import FooterLinks from "../components/shared/footer-links" @@ -115,6 +116,7 @@ class StarterTemplate extends React.Component { + { + const content = `gatsby new ${repoName || `my-gatsby-project`} ${repoUrl}` + return ( + + + Install this starter locally: + + + + {content} + + + + + ) +} + +export default StarterInstallation
+ + {content} + + +
+ {content} + +