mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 04:32:32 +02:00
Add trailing slashes to nav links
gatsby@0.12.5 enforces trailing slashes https://github.com/gatsbyjs/gatsby/pull/378
This commit is contained in:
@@ -14,11 +14,11 @@ class SiteNav extends React.Component {
|
|||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link to="/about" className={ location.pathname === prefixLink('/about') ? "current" : null }> About me
|
<Link to="/about/" className={ location.pathname === prefixLink('/about/') ? "current" : null }> About me
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Link to="/contact" className={ location.pathname === prefixLink('/contact') ? "current" : null }> Contact me
|
<Link to="/contact/" className={ location.pathname === prefixLink('/contact/') ? "current" : null }> Contact me
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Reference in New Issue
Block a user