Ordering Site Sections to Build Dynamic Menu/Navigation in Template

I am using:

{{ range .Site.Sections }}
	{{ .Render "li" }}
{{ end }}

I want the ordering to be of a specific order of each section in _index.md like index = 1 will be the 1st section while index = 2 will be the second page, etc. Is there a way this can be done?

would try to add weight to section frontmatter

content/blog/_index.md
+++
title = “Blog”
description = “this is my blog”
weight = 100
+++

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