fix: append .html extension back to template url after mapping

This commit is contained in:
raunofreiberg
2018-03-15 09:50:23 +02:00
parent 01f780cf00
commit 64805ebf96

View File

@@ -45,7 +45,7 @@ const NavigationFooter = ({next, prev, location}) => {
css={{
paddingTop: 10,
}}>
<PrimaryLink location={location} to={prev.id}>
<PrimaryLink location={location} to={`${prev.id}.html`}>
{prev.title}
</PrimaryLink>
</div>
@@ -66,7 +66,7 @@ const NavigationFooter = ({next, prev, location}) => {
css={{
paddingTop: 10,
}}>
<PrimaryLink location={location} to={next.id}>
<PrimaryLink location={location} to={`${next.id}.html`}>
{next.title}
</PrimaryLink>
</div>