Create Personal Blog
How to create a personal blog with hugo
Open home page of Hugo : A blog generator by go language
press ‘Quick start’ button to create!
Step 1: Install Hugo
brew install hugo
Step 2: Create a New Site
Create the directory to init your blog.If your want to build based github,you need call the directory name as ‘username.github.io’.
hugo new site username.github.io
Step 3: Add a Theme
‘cd’ into blog directory
cd username.github.io(
and init git repo
git init
download the default theme from Github
git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke
add the theme to the site configuration:
echo 'theme = "ananke"' >> config.toml
Step 4: Add Some Content
hugo new posts/my-first-post.md
Step 5: Start the Hugo server
hugo server -D
your can see the fantastic blog