Learn to create a Hugo site in minutes.

1. Create a site

site_name="my-blog"
hugo new site $site_name

now can dive into site dir for a look

$ cd $site_name
$ ls -l
drwxr-xr-x@ 3 daydaylw3  staff   96  8 11 15:39 archetypes
drwxr-xr-x@ 2 daydaylw3  staff   64  8 11 15:39 assets
drwxr-xr-x@ 2 daydaylw3  staff   64  8 11 15:39 content
drwxr-xr-x@ 2 daydaylw3  staff   64  8 11 15:39 data
-rw-r--r--@ 1 daydaylw3  staff   83  8 11 15:39 hugo.toml
drwxr-xr-x@ 2 daydaylw3  staff   64  8 11 15:39 i18n
drwxr-xr-x@ 2 daydaylw3  staff   64  8 11 15:39 layouts
drwxr-xr-x@ 2 daydaylw3  staff   64  8 11 15:39 static
drwxr-xr-x@ 4 daydaylw3  staff  128  8 11 15:42 themes

config file hugo.toml

name desc
archetypes contains templates for new content.
assets I have no idea
content place for your blog
data I have no idea
i18n I have no idea
layouts
static for images/videos/e.g
themes

2. Add content