mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-07-29 22:37:19 +02:00
Normalize links
This commit is contained in:
parent
bd9054f02e
commit
78db8f07a2
9 changed files with 24 additions and 24 deletions
|
@ -24,7 +24,7 @@ const BlogListing = ({ data, pageContext }) => {
|
|||
<section>
|
||||
<article>
|
||||
{hasSection && (
|
||||
<Link to={"/blog"} className={styles.sectionBacklink}>
|
||||
<Link to={"/blog/"} className={styles.sectionBacklink}>
|
||||
{t("blog.title")} /
|
||||
</Link>
|
||||
)}
|
||||
|
@ -39,7 +39,7 @@ const BlogListing = ({ data, pageContext }) => {
|
|||
<div className={styles.sectionList}>
|
||||
<Link
|
||||
className={styles.sectionCard}
|
||||
to={"/blog/scambox"}
|
||||
to={"/blog/scambox/"}
|
||||
>
|
||||
<div className={styles.sectionImage}>
|
||||
<div className={styles.sectionBg}>
|
||||
|
@ -69,7 +69,7 @@ const BlogListing = ({ data, pageContext }) => {
|
|||
: ""
|
||||
}${
|
||||
post.childMdx.frontmatter.urlPublished
|
||||
}/${post.childMdx.frontmatter.url}`}
|
||||
}/${post.childMdx.frontmatter.url}/`}
|
||||
key={post.childMdx.slug}
|
||||
className={styles.post}
|
||||
>
|
||||
|
@ -89,7 +89,7 @@ const BlogListing = ({ data, pageContext }) => {
|
|||
<>
|
||||
{" | "}
|
||||
<Link
|
||||
to={`/blog/${post.childMdx.frontmatter.section}`}
|
||||
to={`/blog/${post.childMdx.frontmatter.section}/`}
|
||||
>
|
||||
{t(
|
||||
`blog.section.${post.childMdx.frontmatter.section}.name`
|
||||
|
|
|
@ -71,7 +71,7 @@ const BlogPost = ({ data }) => {
|
|||
<>
|
||||
{" | "}
|
||||
<Link
|
||||
to={`/blog/${data.mdx.frontmatter.section}`}
|
||||
to={`/blog/${data.mdx.frontmatter.section}/`}
|
||||
>
|
||||
{t(
|
||||
`blog.section.${data.mdx.frontmatter.section}.name`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue