mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
Merge pull request #2442 from XRPLF/blog-fix
fix: adds /blog/ to beginning of href url
This commit is contained in:
@@ -31,7 +31,6 @@ export default function Index() {
|
||||
|
||||
const heroPost = blogPosts[0];
|
||||
const otherPosts = blogPosts.slice(1);
|
||||
|
||||
const defaultSelectedCategories = new Set(Object.keys(categories));
|
||||
|
||||
const [selectedCategories, setSelectedCategories] = useState(
|
||||
@@ -110,7 +109,7 @@ export default function Index() {
|
||||
<div className="d-lg-block">
|
||||
<a
|
||||
className="btn btn-primary btn-arrow"
|
||||
href={`${heroPost.link}`}
|
||||
href={`/blog/${heroPost.link}`}
|
||||
>
|
||||
{translate("Read More")}
|
||||
</a>
|
||||
@@ -224,7 +223,7 @@ export default function Index() {
|
||||
<div className="d-lg-block">
|
||||
<a
|
||||
className="btn btn-primary btn-arrow"
|
||||
href={`${card.link}`}
|
||||
href={`/blog/${card.link}`}
|
||||
>
|
||||
{translate("Read More")}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user