Skip to content

Commit d271fff

Browse files
authored
Update README.md
1 parent 6fb1f65 commit d271fff

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
To deploy a static site base on Github Pages
1+
To deploy a Hugo static site base on Github Pages
22
# clone
33
```shell
44
git clone https://github.com/WinterArch/WinterArch.github.io.git
@@ -22,7 +22,7 @@ hugo new content content/posts/YourNewContent.md #Command and Correct path is re
2222
```
2323

2424
# drafts
25-
To modify baseURL
25+
To modify baseURL in `/hugo.yaml`
2626
```yaml
2727
baseURL: https://winterarch.github.io/
2828
```
@@ -38,7 +38,7 @@ title: 'some Text'
3838
```
3939

4040
# partial deployment
41-
In fact, the site's generated Hugo-Source-Code is located in the directory `/public`.
41+
In fact, the site's generated Hugo-Source-Code is located at the directory `/public`.
4242
And we can just initialize a local git repository in `/public` then push upto Github. In this way, deployment is very eazy.
4343
Open YourGithubRepository/Settings/Pages/Build and deployment/Branch, and set `main/root`.
4444
However, it is also very Annoying to do a series of command like hugo-build|check-directory|git-push EVERY single time, the rest part that Hugo-Configuration is necessary as well.

0 commit comments

Comments
 (0)