mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-11-04 02:29:46 +01: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>
 | 
			
		||||
                </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>
 | 
			
		||||
                </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>
 | 
			
		||||
                </li>
 | 
			
		||||
              </ul>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user