Skip to content

Commit 92fc6f7

Browse files
author
zhili
committed
modify some layout for web
1 parent 0fdec38 commit 92fc6f7

File tree

7 files changed

+15
-13
lines changed

7 files changed

+15
-13
lines changed

source/timeline/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ layout: timeline
33
title: history
44
date: 2018-01-18 11:19:28
55
tags:
6+
comments: false
67
---

themes/maupassant-hexo/_config.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,21 @@ donate:
4949
paypal_url: ## Paypal URL, e.g. https://paypal.me/tufu9441
5050

5151
menu:
52-
- page: home
52+
- page: 主页
5353
directory: .
5454
icon: fa-home
55-
- page: archive
55+
- page: 归档
5656
directory: archives/
5757
icon: fa-archive
58-
- page: about
58+
- page: 历史
59+
directory: timeline
60+
icon: fa-random
61+
- page: 关于
5962
directory: about/
6063
icon: fa-user
61-
- page: rss
62-
directory: atom.xml
63-
icon: fa-rss
64-
- page: timeline
65-
directory: timeline
64+
# - page: rss
65+
# directory: atom.xml
66+
# icon: fa-rss
6667

6768
widgets: ## Six widgets in sidebar provided: search, category, tag, recent_posts, rencent_comments and links.
6869
- search
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.widget
22
.widget-title
3-
i(class='fa fa-folder-o')= ' ' + __('categories')
3+
i(class='fa fa-folder-o')= ' ' + __('分类目录')
44
!= list_categories({show_count: theme.show_category_count})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.widget
22
.widget-title
3-
i(class='fa fa-external-link')= ' ' + __('blogroll')
3+
i(class='fa fa-external-link')= ' ' + __('友情链接')
44
- for (var i in theme.links)
55
ul
66
a(href=theme.links[i].url title=theme.links[i].title target='_blank') #{theme.links[i].title}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if theme.disqus
22
.widget
33
.widget-title
4-
i(class='fa fa-comment-o')= ' ' + __('recent_comments')
4+
i(class='fa fa-comment-o')= ' ' + __('最新评论')
55
script(type='text/javascript', src='//' + theme.disqus + '.disqus.com/recent_comments_widget.js?num_items=5&hide_avatars=1&avatar_size=32&excerpt_length=20&hide_mods=1')
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.widget
22
.widget-title
3-
i(class='fa fa-file-o')= ' ' + __('recent')
3+
i(class='fa fa-file-o')= ' ' + __('最新文章')
44
!= list_posts({amount: 10})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.widget
22
.widget-title
3-
i(class='fa fa-star-o')= ' ' + __('tags')
3+
i(class='fa fa-star-o')= ' ' + __('标签')
44
.tagcloud
55
!= tagcloud({min_font: 15, max_font: 15, amount: 100, orderby: 'count'})

0 commit comments

Comments
 (0)