Skip to content

Commit

Permalink
feature/prevent-navigation - reduce example surface size
Browse files Browse the repository at this point in the history
  • Loading branch information
ethagnawl committed Feb 20, 2019
1 parent 098ef9c commit 6cf276b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 28 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

@@ -1,20 +1,15 @@
import React from "react"
import { Link } from "gatsby"

const Home = () => (
<div>
<h1>Using prefixed paths</h1>
<ul>
<li>
<Link to="/a/">A</Link>
</li>
<li>
<Link to="/b/">B</Link>
</li>
<li>
<Link to="/c/">C</Link>
</li>
</ul>
<p>
By default, Gatsby will change http://localhost:9000/index.html to
http://localhost:9000.
</p>
<p>
setting `disableAllRedirectsBecasueImUsingGatsbyAsAStaticPageGenerator:
true` will prevent this or any similar behavior from happening.
</p>
</div>
)

Expand Down

0 comments on commit 6cf276b

Please sign in to comment.