如何用github搭建个人博客
2019-02-27 本文已影响0人
两年半练习程序员
1.创建仓库(Create a new repository)
![](https://img.haomeiwen.com/i13122745/1ee60556404eb320.png)
2.进行设置(Setting)
![](https://img.haomeiwen.com/i13122745/2cf8b49f6191a057.png)
3.选择主题(Choose a theme)
![](https://img.haomeiwen.com/i13122745/f4ad130807eb4ef1.png)
![](https://img.haomeiwen.com/i13122745/fde34774359c8922.png)
4.拿到访问地址
选择完主题后可以在setting 里面看到您的网站发布地址
![](https://img.haomeiwen.com/i13122745/268c6389bf6298d3.png)
5.更改仓库名
改成根据创建账号用户名+github.io
![](https://img.haomeiwen.com/i13122745/e4dc8a8a2b99448e.png)
6.自定义首页
创建一个index.html放入
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cc</title>
</head>
<body>
hello world
</body>
</html>
![](https://img.haomeiwen.com/i13122745/c713202dd49d5aa9.png)
7.访问网站发布地址
![](https://img.haomeiwen.com/i13122745/0e30dcc396a1cae9.png)