I’ve created the most simple Hugo project, without any content, the only thing I’ve done is creating a personal theme from scratch, just to get my hands dirty, with
hugo new theme xxx. I wanted to understand how base templates works, so I created also a
baseof.html file in the
themes/xxx/layouts/_default folder. I also have, obviously, the
index.html for the homepage template, created directly by Hugo. I understood that what I write in the base template file, will be shared by all pages, also the homepage, instead if I launch
hugo server -w -D, the tab opened in the browser shows a completely white (empty) page. I guessed it would show any text I write in the body of base template, instead it shows nothing, why? Isn’t base code shared (and so, showed) by all pages?