Weird problem with hugo 'LoveIt' Theme: different view on posts

Hey, I still don’t really understand the structure of Hugo files that well yet. However, I was able to install a theme (LoveIt: https://hugoloveit.com) and I am quite happy with it.

I was able to add a menu item, that shows up on every page EXCEPT ‘posts’. Also on posts the website title is suddenly different. I cannot for the life of me figure out where this comes from. I had a look at the toml and cannot find the correct option.

Has someone run into the same issue? Might this be due to the posts page having its own config?

Thanks for pointers!

You are more likely to receive a prompt and accurate response if you post a link to your project’s Git repository.

See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

You are of course absolutely correct. Here is a link to my github repo that should be public:

I assume there is something going on with the theme and the hugo.toml that is included there. I have set the webpage title etc. in my hugo.toml.

But I cannot see why ‘posts’ has a different layout…

mv content/index.md content/_index.md

Related: https://github.com/gohugoio/hugo/issues/13538

yeah, that did it - thanks.

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