Lazy Blogger Menus with Weights?

Hi All,

Menus are very confusing to me.

I added the Lazy Blogger section menus in the config.toml
SectionPagesMenu = "main"

I gave up trying to add content/about.md (from Quickstart) in the config.toml. Turns out it doesn’t have a URL property or something. Instead I moved it to its own section.
content/about/about.md

Now it displays as desired as a section and becomes active but I don’t like the order of the sections. Can I give override weights? My tests to override (as below) proved ineffective:

    SectionPagesMenu = "main"

    [[menu.main]]
    identifier = "about"
    name       = "About"
    url        = "/about/"
    weight     = 110 

I could probably figure out how to “reverse” the range part and live with it, but I would prefer fully customizable in case I wish to reorder the sections later.

Thanks
Rick

Hi Again,

Ok so I did a copy paste from this explanation:
https://discuss.gohugo.io/t/a-menu-generated-from-a-taxonomy-or-sections/625/5

Seemed to work. Not really sure how that was different. So I kept changing it until it looked like the above to see when it would break. But it never broke. Hmm… so I cut and pasted my original code above back in and it worked also. Scratching my head. Probably some user error.

So, I have no idea why it was failing before but the above seems to be working after all.

Currently I have:
SectionPagesMenu = “main”

[[menu.main]]
identifier = "about"
name       = "About"
url        = "/about/"
weight     = 110

Yes, but you need to define all the needed fields and not just the weight. Your example isn’t very good, as “about” isn’t a section (I guess).

But given the traditional blog layout with “post” as section:

[[menu.main]]
identifier = "post"
name       = "The posts"
url        = "/post/"
weight     = 110

… or something should work.

Yes it worked as advertised after much fuss. Not sure what was wrong though.
Thanks for the clarification info.
Rick