mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 12:13:11 +00:00
fix: append .html extension back to template url after mapping
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user