Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
大白技术控
yanglr2010
提交
08bbc5a4
Y
yanglr2010
项目概览
大白技术控
/
yanglr2010
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
yanglr2010
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
08bbc5a4
编写于
8月 26, 2019
作者:
EvanOne(文一)
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(v1.2.4, v1.2.3): Solve that can't start when update to v1.2.3/4
上级
4f29f6c4
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
26 addition
and
7 deletion
+26
-7
_config.yml
_config.yml
+3
-3
layout/_common/sidebar.pug
layout/_common/sidebar.pug
+3
-3
source/css/_common/sidebar.styl
source/css/_common/sidebar.styl
+20
-1
未找到文件。
_config.yml
浏览文件 @
08bbc5a4
...
...
@@ -65,7 +65,7 @@ header:
url
:
# Mask effect of the top background image.
mask
:
enable
:
fals
e
enable
:
tru
e
# Opacity of mask (value: 0 ~ 1).
opacity
:
0.5
...
...
@@ -662,8 +662,8 @@ tag_cloud:
start_color
:
'
#a4d8fa'
end_color
:
'
#49b1f5'
# Size for tag.
min_size
:
2
4
max_size
:
3
4
min_size
:
2
0
max_size
:
3
0
# Maximum number of tags displayed. Change it if you have more than 200 tags.
max_amount
:
200
...
...
layout/_common/sidebar.pug
浏览文件 @
08bbc5a4
...
...
@@ -60,21 +60,21 @@ aside#sidebar
span= _p("sidebar.subscribe")
if theme.menu
- var menuArchives = _.trim(_.get(theme.menu.archives.split("||"), "[0]"))
- var menuCategories = _.trim(_.get(theme.menu.categories.split("||"), "[0]"))
- var menuTags = _.trim(_.get(theme.menu.tags.split("||"), "[0]"))
div.sidebar-state
if theme.menu.archives
- var menuArchives = _.trim(_.get(theme.menu.archives.split("||"), "[0]"))
span.sidebar-state-item.sidebar-state-posts
a(href=menuArchives)
div.sidebar-state-item-count= site.posts.length
div.sidebar-state-item-name= _p("sidebar.archives")
if theme.menu.categories
- var menuCategories = _.trim(_.get(theme.menu.categories.split("||"), "[0]"))
span.sidebar-state-item.sidebar-state-categories
a(href=menuCategories)
div.sidebar-state-item-count= site.categories.length
div.sidebar-state-item-name= _p("sidebar.categories")
if theme.menu.tags
- var menuTags = _.trim(_.get(theme.menu.tags.split("||"), "[0]"))
span.sidebar-state-item.sidebar-state-tags
a(href=menuTags)
div.sidebar-state-item-count= site.tags.length
...
...
source/css/_common/sidebar.styl
浏览文件 @
08bbc5a4
...
...
@@ -183,11 +183,18 @@ $avatar-animation = 'avatar-' + convert(hexo-config('author.avatar.animation') |
&-email > a
color: $sidebar-feed-email-color
&:hover
color: darken($sidebar-feed-email-color, 20%)
&-rss > a
color: $sidebar-feed-rss-color
&:hover
color: darken($sidebar-feed-rss-color, 20%)
.sidebar-state
padding: .5rem 0
text-align: center
&-item
display: inline-block
...
...
@@ -198,22 +205,34 @@ $avatar-animation = 'avatar-' + convert(hexo-config('author.avatar.animation') |
&:last-child
margin: 0
border: 0
border
-width
: 0
padding: 0
&-count
font-weight: $font-weight-bold
color: $black-dark
a
display: block
&-posts > a
color: $sidebar-state-post-color
&:hover
color: darken($sidebar-state-post-color, 30%)
&-categories > a
color: $sidebar-state-category-color
&:hover
color: darken($sidebar-state-category-color, 30%)
&-tags > a
color: $sidebar-state-tag-color
&:hover
color: darken($sidebar-state-tag-color, 30%)
.sidebar-cc
padding-top: .5rem
text-align: center
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录