From 40b039a965c123be7a5b5a8f6ccd77dac13d5474 Mon Sep 17 00:00:00 2001 From: Somrat <58769763+tfsomrat@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:44:51 +0600 Subject: [PATCH] added pageRef instead of url for menu --- exampleSite/config/_default/menus.en.toml | 22 +++++++++++----------- package.json | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/exampleSite/config/_default/menus.en.toml b/exampleSite/config/_default/menus.en.toml index ee3b18c..c00efd8 100755 --- a/exampleSite/config/_default/menus.en.toml +++ b/exampleSite/config/_default/menus.en.toml @@ -3,17 +3,17 @@ # main menu [[main]] name = "Home" -url = "/" +pageRef = "/" weight = 1 [[main]] name = "About" -url = "about/" +pageRef = "/about" weight = 2 [[main]] name = "Elements" -url = "elements/" +pageRef = "/elements" weight = 3 [[main]] @@ -24,41 +24,41 @@ hasChildren = true [[main]] parent = "Pages" name = "Blog" -url = "blog/" +pageRef = "/blog" [[main]] parent = "Pages" name = "Contact" -url = "contact/" +pageRef = "/contact" [[main]] parent = "Pages" name = "Authors" -url = "authors/" +pageRef = "/authors" [[main]] parent = "Pages" name = "Categories" -url = "categories/" +pageRef = "/categories" [[main]] parent = "Pages" name = "404 Page" -url = "404/" +pageRef = "/404" # footer menu [[footer]] name = "About" -url = "about/" +pageRef = "/about" weight = 1 [[footer]] name = "Elements" -url = "elements/" +pageRef = "/elements" weight = 2 [[footer]] name = "Privacy Policy" -url = "privacy-policy/" +pageRef = "/privacy-policy" weight = 3 diff --git a/package.json b/package.json index 8000812..48b5d13 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.13.0", + "version": "1.13.1", "license": "MIT", "author": "zeon.studio", "scripts": {