首页 >  读书笔记 > 正文

个人博客

标签: 阅读 , 人生


打造个人博客

参考地址:

https://github.com/panxw/panxw.github.com
http://www.cnblogs.com/crazyacking/p/4678976.html

1 申请账号

申请github账号:

2 创建项目

在github个人项目中添加个人项目,点击+号,new repository。 输入Repository name,命名规则为 username.github.io,其中username可以替换。

3 拷贝代码

在本机安装git,参考地址:

http://windows.github.com/
http://mac.github.com/

选择本机地址,克隆创建好的项目到本地。

4 设计样式

结构

_includes

_layouts

_posts

_site

asserts

css

fonts

js

posts

样式

关于样式,效果问题。需要一定的前端知识。

5 编写文章

markdown语法手册:

https://www.appinn.com/markdown/

jekyll中文网站:

https://www.jekyll.com.cn/

6 上传代码

设置本地的github账户信息:

git config --global user.name xxxxx	
git config --global user.email xxxxx@xxxxx.com

原创文章,转载请注明出处!
本文链接:https://yangfeileo.github.io/posts/my-first-blog.html
上篇: 新年快乐
下篇: 记一次代码学习记录