Hello,
I just found Hugo, looks awesome, but I haven’t been able to make it work for more than a day now. I am following the commands from the quickstart:
hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
hugo server
And it is able to run the server, but gives me the warning:
WARN 2023/11/03 17:40:21 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2023/11/03 17:40:21 found no layout file for "HTML" for kind "taxonomyTerm": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
And when I open localhost:1313
, it’s just a white screen.
I then thought it couldn’t figure out where the layout files were, so I tried to help it by explicitly pointing them out by
hugo --layoutDir ./themes/<theme>/layouts
, and it is showing me something now, but obviously not what is meant to be shown (See attached image)
I tried explicitly installing dart-sass, go, and so on, reinstalling hugo, no difference. I am on Ubuntu 22.04, so the OS is not exotic either.
Can anyone give me a hint as to what is happening?