Confused about pages: removing posts from menus

In my config.toml I have the following:

    name = "Home"
    weight = 10
    identifier = "home"
    url = "/"

    name = "Posts"
    identifier = "posts"
    weight = 20
    url = "/posts/"

  name = "Tags"
  weight = 30
  identifier = "tags"
  url = "/tags/"

This works fine. I’m using ox-hugo to set up my blog with emacs org-mode, and yet when I run my posts through Hugo, I end up with a menu at the top which includes the six items:

Home Posts Tags Links Blog_Post_1 Blog_post_2

so for some reason my blog posts are included as menu headers. In my org file the posts are given as sub-items below the main item “Posts”. I’ve been fiddling with this for a while, but I can’t find the magic formula to remove my blog posts from the menu header. I have a feeling it’s something to do with page management, but I’ve got myself right confused over all the different sorts of content management in Hugo.

While experimenting, I’m using the very simple “kiera” theme. Anyway, if there’s any advice, or examples on github I can be pointed to, I’d be very grateful!

Are you sure you don’t have any menu Params in the Front Matter of Blog_Post_1 and other two ?

It’s hard to pin anything without a repo.

I’ll have a fiddle about and see. I really shouldn’t have posted and wasted people’s time; I was just getting frustrated… But thank you for your response!

1 Like