Create a personal blog on Github

1、Create a new repository

Set domain name: .github.io

Set .gitignore:Node

2. Print a hello to html

GitHub Pages | Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live.Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live.https://pages.github.com/

git clone https://github.com/tobeprozy/tobeprozyRecord.github.io.git

cd .\tobeprozyRecord.github.io\  

echo "Hello World" > index.html

git add --all

git commit -m "Initial commit"

git push -u origin main

3、Setting->pages->Branch

 

 It seems it will take a while before this URL is displayed. You can play it yourself.

 

 4. Look at the effect

5. Get a template and take a look

Complete List | Hugo Themeshttps://themes.gohugo.io/Jekyll Themesicon-default.png?t=M85Bhttp://jekyllthemes.org/page3/Themes | HexoHexo is a fast, simple & powerful blog framework powered by Node.js.https://hexo.io/themes/这个还不错

HCZ Material icon-default.png?t=M85Bhttp://jekyllthemes.org/themes/hcz-jekyll-material/Download , drag in

 

See the effect

 

Guess you like

Origin blog.csdn.net/seek97/article/details/127106906