How to order menu manually in template "Dimension"?

I have customized using custom.css and custom.js Dimension theme and it works very nice on my PC and Android Phone.

In /content i have created two folders:

ABOUT
POSTS

And would like to display in main menu like this:

POSTS
ABOUT

How can i manually specifiy order of main menu items to apper?

Theme is:

And DEMO site is here so you can have a look at demo code:

https://themes.gohugo.io/theme/hugo-theme-dimension/

The pages are ordered by date. See:

https://github.com/your-identity/hugo-theme-dimension/blob/master/layouts/_default/list.html#L29

So, set the date in the frontmatter of content/posts/_index.md to be earlier than content/about.md.

1 Like

Thanks…it works.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.