File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ ga_domain: auto
8080
8181
8282# Featured Tags
83- featured-tags : true # whether or not using Feature-Tags
84- featured-condition-size : 1 # A tag will be featured if the size of it is more than this condition value
83+ featured-tags : true # 是否使用首页标签
84+ featured-condition-size : 1 # 相同标签数量大于这个数,才会出现在首页
8585
8686
8787
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ sidebar-about-description: "说点装逼的话。。。"
146146sidebar-avatar: img/avatar-by.JPG # 你的个人头像 这里你可以改成我在img文件夹中的两张备用照片 img/avatar-m 或 avatar-g
147147```
148148
149+
149150#### 社交账号
150151展示你的其他社交平台
151152
@@ -285,6 +286,31 @@ tags: #标签
285286
286287![ ] ( https://ww4.sinaimg.cn/large/006tKfTcgy1fch26elve4j31kw13qhdt.jpg )
287288
289+
290+ #### 首页标签
291+
292+ 在首页可以看到这些特色标签,当你的文章出现相同标签(默认相同的** 标签数量大于1** ),才会自动生成。
293+
294+ 所以当你只放一篇文章的时候是不会出现标签的。
295+
296+
297+
298+ ![ ] ( https://ws2.sinaimg.cn/large/006tKfTcgy1fh7uy90ayzj30gd09udh0.jpg )
299+
300+
301+ 建站的初期,博客比较少,若你想直接在首页生成比较多的标签。你可以在 ` _congfig.yml ` 中找到这段:
302+
303+ ```
304+ # Featured Tags
305+ featured-tags: true # 是否使用首页标签
306+ featured-condition-size: 1 # 相同标签数量大于这个数,才会出现在首页
307+ ```
308+
309+ 将其修改为` featured-condition-size: 0 ` , 这样只有一个标签时也会出现在首页了。
310+
311+ 相反,当你博客比较多,标签也很多时,这时你就需要改回 ` 1 ` 甚至是 ` 2 ` 了。
312+
313+
288314到这里,恭喜你!
289315
290316你已经成功搭建了自己的个人博客以及学会在博客上撰写文字的技能了(是不是有点小兴奋🙈)。
You can’t perform that action at this time.
0 commit comments