Skip to content

Commit ef58216

Browse files
author
wu-kan
committed
删除虚假的分类标签
1 parent a5c4b40 commit ef58216

File tree

325 files changed

+8091
-6458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+8091
-6458
lines changed

_config.yml

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
# 以下四个配置项为空时jekyll-github-metadata会帮你生成
9393
title: wu-kan
9494
description: | # 头像背后的信息,<br/>代表换行
95-
SYSU17级超算方向在读<br/>
95+
SYSU超算17级在读<br/>
9696
永远喜欢水野爱<br/>
9797
田宫例四驱车<br/>
9898
ASCer<br/>
@@ -152,12 +152,6 @@ index:
152152
enable: true
153153
href: /archive
154154
alert: posts in total ...
155-
categories:
156-
- 博客搭建
157-
tags:
158-
- 人生经验
159-
- ICPC模板
160-
- 水野爱
161155

162156
page404:
163157
head: | # 腾讯公益
@@ -251,9 +245,6 @@ post:
251245
enable: true
252246
alert: <i class="far fa-eye"></i>
253247
unit:
254-
categories:
255-
enable: true
256-
alert: <i class="fas fa-th"></i>
257248
tags:
258249
enable: true
259250
alert: <i class="fas fa-tag"></i>
@@ -668,41 +659,29 @@ page:
668659
background-image: none;
669660
}
670661
/*头像效果-start*/
671-
.ih-item.circle {
672-
position: relative;
673-
border-radius: 4px;
674-
}
675662
.ih-item.circle .info {
676-
position: absolute;
677-
top: 0;
678-
bottom: 0;
679-
left: 0;
680-
right: 0;
681663
text-align: center;
682-
border-radius: 4px;
683664
-webkit-backface-visibility: hidden;
684665
backface-visibility: hidden;
666+
position: absolute;
667+
top: 0;
668+
padding: 1rem;
685669
}
686670
.ih-item.circle .img {
687671
width: 100%;
688672
height: 100%;
689673
margin: 0;
690674
position: relative;
691-
border-radius: 4px;
675+
padding: 1rem;
692676
}
693677
.ih-item.circle .img:before {
694678
position: absolute;
695679
display: block;
696-
content: "";
697-
width: 100%;
698-
height: 100%;
699-
border-radius: 4px;
700680
-webkit-transition: all 0.35s ease-in-out;
701681
-moz-transition: all 0.35s ease-in-out;
702682
transition: all 0.35s ease-in-out;
703683
}
704684
.ih-item.circle.effect {
705-
margin: 0 auto;
706685
-webkit-perspective: 900px;
707686
-moz-perspective: 900px;
708687
perspective: 900px;

_layouts/index.html

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,3 @@ <h2 id="{{ site.index.show.recent.title }}">
2222
{% endif %}
2323
</ul>
2424
{% endif %}
25-
{% for tag in site.index.show.categories %}
26-
<h2 id="{{ tag }}">
27-
<i class="fas fa-th"></i>
28-
{{ tag }}
29-
</h2>
30-
<ul>
31-
{% for post in site.categories[tag] %}
32-
<li>
33-
<a href="{{ post.url }}">
34-
{{ post.title }}
35-
</a>
36-
</li>
37-
{% endfor %}
38-
</ul>
39-
{% endfor %}
40-
{% for tag in site.index.show.tags %}
41-
<h2 id="{{ tag }}">
42-
<i class="fas fa-tag"></i>
43-
{{ tag }}
44-
</h2>
45-
<ul>
46-
{% for post in site.tags[tag] %}
47-
<li>
48-
<a href="{{ post.url }}">
49-
{{ post.title }}
50-
</a>
51-
</li>
52-
{% endfor %}
53-
</ul>
54-
{% endfor %}

_layouts/page.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
<!-- Toggleable sidebar -->
1616
<div class="sidebar" id="sidebar">
1717
{% if site.page.sidebar.avatar.enable %}
18-
<div style="padding:2.5rem">
18+
<div class="sidebar-item">
1919
<div class="ih-item circle effect right_to_left">
2020
<img class="img" src="{{ site.page.sidebar.avatar.img }}" alt="img" />
21-
<div class="info info-back">
21+
<div class="info">
2222
{{ site.description }}
2323
</div>
2424
</div>

_layouts/post.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@
2222
</span>{{ site.post.visitor.unit }}
2323
</span>
2424
{% endif %}
25-
{% if site.post.categories.enable %}
26-
{% for node in page.categories %}
27-
{{ site.post.categories.alert }}
28-
{{ node }}
29-
{% endfor %}
30-
{% endif %}
3125
{% if site.post.tags.enable %}
3226
{% for node in page.tags %}
3327
{{ site.post.tags.alert }}

_layouts/tags.html

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,6 @@
22
layout: page
33
---
44
{{ content }}
5-
{% for tag in site.categories %}
6-
<h5 id="{{ tag[0] }}">
7-
<i class="fas fa-th"></i>
8-
<small>{{ tag[1].size }}</small>
9-
{{ tag[0] }}
10-
</h5>
11-
<ul>
12-
{% for post in tag[1] %}
13-
<li>
14-
<small>{{ post.date | date_to_string }}</small>
15-
<a href="{{ post.url }}">{{ post.title }}</a>
16-
</li>
17-
{% endfor %}
18-
</ul>
19-
{% endfor %}
205
{% for tag in site.tags %}
216
<h5 id="{{ tag[0] }}">
227
<i class="fas fa-tag"></i>

_posts/2017-10-04-C++51行贪吃蛇.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: C++51行贪吃蛇
3-
categories: 程序设计
4-
date: 2017-10-04 11:03:56
3+
tags:
4+
- 程序设计
55
---
6+
67
```cpp
78
#include <cstdio>
89
#include <deque>

0 commit comments

Comments
 (0)