Prevent posts all over the place

I experience that all my content shows up on every page I create.

I use the hugo-tikva theme, but I’m not sure it is a theme issue. I have menus set up, however, if I create an md file, it shows up everywhere.

Is it possible to limit the visibility of certain items on certain list pages?

I’ve tried adding a type to the frontmatter, but I don’t know how to link the type to a directory and/or a menu item.

Any help are welcome, thanks.

Thanks,
Levente

That’s buggy, and doesn’t happen normally. Share your site project and we can debug. :slight_smile:

Thank you for your support.

The site is online:

http://levente.logonex.eu/lev/public/

And here is all the data:

http://levente.logonex.eu/lev/

So I have my two SOTA test posts all over the place, regardless of where I navigate in the menus. It is in ham/sota, and I’d like to see it there.

Thanks,
Levente

Yes, this is a theme issue. There is one list template, and it iterates over .Site.RegularPages which is a collection of every content page anywhere in your content directory.

From https://themes.gohugo.io/hugo-tikva/:

the theme and documentation are far away from being complete. It is still work in progress and currently some features of Hugo aren’t supported.

This doesn’t inspire much confidence. Unless you’re comfortable creating and modifying templates, I would either (a) contact the theme author for assistance (https://github.com/geschke/hugo-tikva/issues), or (b) use a different theme.

1 Like