Hi, I am trying to make a new theme for my personal website / blog, and thought I would use blocks in the baseof.html instead of building everything with partials. The problem is that Hugo doesn’t seem to render anything! Here is what I have tried so far:
Those code snippets should work; it’s difficult to say where the problem is without the full code. See this note in the docs if that helps solve your issue:
Code that you put outside the block definitions can break your layout. This even includes HTML comments. For example:…
I only did a hugo serve for this test. I’m on 0.41 though, and I don’t know myself if logging had changed from 0.40.3. And yes, there is a -v , --verbose flag you can use. Happy Hugo-ing