Repository navigation
Expand file tree
/
Copy pathatom.xml
More file actions
117 lines (51 loc) · 2.24 KB
/
Copy pathatom.xml
File metadata and controls
117 lines (51 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[muyear‘s house]]></title>
<link href="http://muyear.github.io/atom.xml" rel="self"/>
<link href="http://muyear.github.io/"/>
<updated>2014-09-16T13:14:54+08:00</updated>
<id>http://muyear.github.io/</id>
<author>
<name><![CDATA[muyear]]></name>
</author>
<generator uri="http://octopress.org/">Octopress</generator>
<entry>
<title type="html"><![CDATA[搭个博客]]></title>
<link href="http://muyear.github.io/blog/2014/09/16/hello-github-blog/"/>
<updated>2014-09-16T12:40:47+08:00</updated>
<id>http://muyear.github.io/blog/2014/09/16/hello-github-blog</id>
<content type="html"><![CDATA[<p>搭建步骤</p>
<p>搭建本地环境(安装Git、安装Ruby、安装DevKit)</p>
<p>配置环境(克隆Octopress、安装Octopress依赖项)</p>
<p>将博客部署到GitHub上</p>
<p>配置博客</p>
<p>发表博客</p>
<p>搭建具体步骤大牛们已经很详细了,我就不赘述了.</p>
<p>参考</p>
<p>http://blog.devtang.com/blog/2012/02/10/setup-blog-based-on-github/</p>
<p>http://blog.csdn.net/jackystudio/article/details/16117585
主题</p>
<p>这是我使用的主题:</p>
<p>$ git clone git@github.com:shashankmehta/greyshade.git .themes/greyshade
$ echo “\$greyshade: color;” >> sass/custom/_colors.scss //Substitue ‘color’ with your highlight color
$ rake “install[greyshade]”
$ rake generate</p>
<p>使用完以后别忘记generate/deploy
新浪微博
发现 sina weibo 的添加不只是更改<em>config.yml
首先在</em>config.yml 加上</p>
<p>weibo_user: smallyin00
其次添加“weibo.png” 到 “octopress/source/images/social”
然后加代码到“octopress/sass/parts/_header.scss文件中</p>
<p>&.weibo{
background: image-url(‘social/weibo.png’) center no-repeat #e32529;
border: 1px solid #e32529;
&:hover{
border: 1px solid darken(#e32529, 10%);
}
}
最后加代码到octopress/source/_includes/header.html文件中</p>
<p>< a class=”weibo” href=”http://www.weibo.com/smallyin00” title=”Weibo”>Weibo</p>
]]></content>
</entry>
</feed>