Hugo-开始

使用的模板
LoveIt主题中文帮助
Hugo帮助文档

1. 安装与使用

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 # Create site and cd into it
 hugo new site my-site && cd my-site
 
 # Clone the ReFresh theme into the themes folder
 git init
 git submodule add https://github.com/dillonzq/LoveIt.git themes/LoveIt
 
 # Remove the default config
 rm config.toml
 
 # Fetch the example config
 curl -O https://raw.githubusercontent.com/dillonzq/LoveIt/master/exampleSite/config.toml
 
 # Run the site locally
 hugo server -D
 
 # Open the site in your browser
 open http://localhost:1313
Built with Hugo
主题 StackJimmy 设计