added pageRef instead of url for menu

This commit is contained in:
Somrat 2024-03-21 09:44:51 +06:00
parent 008b5ce996
commit 40b039a965
2 changed files with 12 additions and 12 deletions

View File

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

View File

@ -1,7 +1,7 @@
{ {
"name": "hugoplate", "name": "hugoplate",
"description": "hugo tailwindcss boilerplate", "description": "hugo tailwindcss boilerplate",
"version": "1.13.0", "version": "1.13.1",
"license": "MIT", "license": "MIT",
"author": "zeon.studio", "author": "zeon.studio",
"scripts": { "scripts": {