Skip to content

Commit f824417

Browse files
committed
update
1 parent 6b511b1 commit f824417

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

_includes/themes/sext-v/post.html

+7-5
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,22 @@ <h2>{{ page.title }}</h2>
1111
<section class="meta">
1212
<span class="time">
1313
<time datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date:"%Y-%m-%d" }}</time>
14-
</span> &nbsp;
15-
<span> 作者:{{ page.author }} </span>
16-
{% if page.category %}
14+
</span>
15+
<span>&nbsp;作者:{{ page.author }}</span>
16+
{% if page.categories %}
1717
<span class="categories">
18+
<span>&nbsp;分类:</span>
1819
{% for category in page.categories %}
19-
<a href="/categories#{{ category }}-ref" title="{{ category }}">#{{ category }}</a>
20+
<a href="/categories#{{ category }}-ref" title="{{ category }}">{{ category }}</a>&nbsp;
2021
{% endfor %}
2122
</span>
2223
{% endif %}
2324

2425
{% if page.tags %}
2526
<span class="tags">
27+
<span>&nbsp;标签:</span>
2628
{% for tag in page.tags %}
27-
<a href="/tags.html#{{ tag }}" title="{{ tag }}">#{{ tag }}</a>
29+
<a href="/tags.html#{{ tag }}" title="{{ tag }}">{{ tag }}</a>&nbsp;
2830
{% endfor %}
2931
</span>
3032
{% endif %}

categories.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: default
33
title: 文章分类
44
header: Posts By Category
5-
permalink: /categories/
5+
permalink: /categories
66
group: navigation
77
---
88
{% include JB/setup %}

index.html

+7-5
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,21 @@ <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
1414
<span class="time">
1515
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
1616
</span>
17-
<span>作者:{{ page.author }}</span>
18-
{% if page.category %}
17+
<span>&nbsp;作者:{{ post.author }}</span>
18+
{% if post.categories %}
1919
<span class="categories">
20-
{% for category in page.categories %}
21-
<a href="/categories#{{ category }}-ref" title="{{ category }}">#{{ category }}</a>
20+
<span>&nbsp;分类:</span>
21+
{% for category in post.categories %}
22+
<a href="/categories#{{ category }}-ref" title="{{ category }}">{{ category }}</a>&nbsp;
2223
{% endfor %}
2324
</span>
2425
{% endif %}
2526

2627
{% if post.tags %}
2728
<span class="tags">
29+
<span>&nbsp;标签:</span>
2830
{% for tag in post.tags %}
29-
<a href="/tags.html#{{ tag }}" title="{{ tag }}">#{{ tag }}</a>
31+
<a href="/tags.html#{{ tag }}" title="{{ tag }}">{{ tag }}</a>&nbsp;
3032
{% endfor %}
3133
</span>
3234
{% endif %}

0 commit comments

Comments
 (0)