Build hugo Static blog (Build article)
1. Ready
2. Build site
New hugo site:hugo new site your-blog-site
The directory format should look like this:
|
|
3. Change theme
-
Drag the theme file into
themes
-
Add the following code to hugo.toml:
1 2 3 4
baseURL = "https://your-site.com" title = "your-site-name" languageCode = "en-us" theme = "name"#The theme folder name needs to match this
4. New Page
- Create a new
archive.md
in content
|
|
5. New Post
Type in git
|
|