Hugo "Hello World"
When you make a Hugo quickstart, you were suggested to download a theme, but you don't have to. So this is how to create a simple bare Hugo site. Here's how to do it.
create a new site with
hugo new site quickstartcommand (you can change the quickstart with another name)create an _index.md the content folder with the command
hugo new _index.md. Here is the content:--- title: "Home Grown Post" date: 2023-02-14T07:49:43+07:00 draft: true --- Hello, World!you can name the title into whatever you want
create an index.html in the layouts folder, here's the content:
<html> <head> <title>{{ .Title }}</title> </head> <body> <h1>{{ .Title }}</h1> {{ .Content }} </body> </html>use the command
hugoto compile ituse the command
hugo server -Dto run it
it will look like this

the source is available on my GitHub


