yesterday I started with HUGO and greated some easy files in the folder content (about.md and kontakt.md) to get a feeling how HUGO works.
I make index.html in the layouts folder
the about.md and kontakt.md stay simple: title, date and draft
no themes
I started the hugo server in the root
localhost:1313 displays the content of the index.html localhost:1313/kontakt/ or localhost:1313/about/ shows the 404 page not found
This is why it is advised to use Quick Start | Hugo guide. You don’t have a single.html layout file, so your pages won’t work! If you don’t want to use a theme, just copy the files inside the theme after completing the guide and paste them in the base layout folder.
Anyway, create the single.html file in layouts/_default and your pages will show up. Sample code (with the baseof.html available in layouts/_default) as below
No, I didnt
I understand… this was the reason, why there is no file in the public-folder! Thank you.
(there is an issue I cant figure out at the moment.
in the meantime I saw there is no go installed and I can not find a way to install it. I tried everything on the go-website. everything is fine, till I check the go version. no such command
It’s a bit frustating… but this is possible a Linux-issue and not suitable for this forum)
But I found that it is necessary to have a go on the computer to install Ananke
Also if this is not true, I can not install the theme.