fix: fixed pageRef issue causing incorrect page navigation when clicking on links. Resolved #146 issue

This commit is contained in:
tfsumon 2024-09-16 16:47:55 +06:00
parent fa5ec7329f
commit 77cc953de7

View File

@ -3,17 +3,17 @@
# main menu # main menu
[[main]] [[main]]
name = "Home" name = "Home"
pageRef = "/" url = "/"
weight = 1 weight = 1
[[main]] [[main]]
name = "About" name = "About"
pageRef = "/about" url = "/about"
weight = 2 weight = 2
[[main]] [[main]]
name = "Elements" name = "Elements"
pageRef = "/elements" url = "/elements"
weight = 3 weight = 3
[[main]] [[main]]
@ -23,41 +23,41 @@ name = "Pages"
[[main]] [[main]]
parent = "Pages" parent = "Pages"
name = "Blog" name = "Blog"
pageRef = "/blog" url = "/blog"
[[main]] [[main]]
parent = "Pages" parent = "Pages"
name = "Contact" name = "Contact"
pageRef = "/contact" url = "/contact"
[[main]] [[main]]
parent = "Pages" parent = "Pages"
name = "Authors" name = "Authors"
pageRef = "/authors" url = "/authors"
[[main]] [[main]]
parent = "Pages" parent = "Pages"
name = "Categories" name = "Categories"
pageRef = "/categories" url = "/categories"
[[main]] [[main]]
parent = "Pages" parent = "Pages"
name = "404 Page" name = "404 Page"
pageRef = "/404" url = "/404"
# footer menu # footer menu
[[footer]] [[footer]]
name = "About" name = "About"
pageRef = "/about" url = "/about"
weight = 1 weight = 1
[[footer]] [[footer]]
name = "Elements" name = "Elements"
pageRef = "/elements" url = "/elements"
weight = 2 weight = 2
[[footer]] [[footer]]
name = "Privacy Policy" name = "Privacy Policy"
pageRef = "/privacy-policy" url = "/privacy-policy"
weight = 3 weight = 3