fix navigation bug
This commit is contained in:
parent
b312c2e3fd
commit
d19d784d2c
@ -31,7 +31,7 @@ const SoftwarePage = ({ data }) => {
|
||||
const link = node.frontmatter.shortTitle;
|
||||
const id = node.frontmatter.id;
|
||||
return(
|
||||
<li><Link to={`projects/math#${id}`}>{link}</Link></li>
|
||||
<li><Link to={`/projects/math#${id}`}>{link}</Link></li>
|
||||
)
|
||||
})}
|
||||
</ul>
|
||||
|
@ -31,7 +31,7 @@ const SoftwarePage = ({ data }) => {
|
||||
const link = node.frontmatter.shortTitle;
|
||||
const id = node.frontmatter.id;
|
||||
return(
|
||||
<li><Link to={`projects/software#${id}`}>{link}</Link></li>
|
||||
<li><Link to={`/projects/software#${id}`}>{link}</Link></li>
|
||||
)
|
||||
})}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user