Skip to content

Commit 62c27f7

Browse files
stevenjoezhangivan-nginx
authored andcommitted
Fix #569 Valine Comment Count (#570)
1 parent f167945 commit 62c27f7

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
{% if page.comments %}
22
{% if theme.disqus.enable %}
3-
{% include 'disqus.swig' %}
3+
{% include 'disqus.swig' %}
44
{% elif theme.livere_uid %}
5-
{% include 'livere.swig' %}
5+
{% include 'livere.swig' %}
66
{% elif theme.changyan.enable and theme.changyan.appid and theme.changyan.appkey %}
7-
{% include 'changyan.swig' %}
7+
{% include 'changyan.swig' %}
88
{% elif theme.gitment.enable and theme.gitment.client_id %}
9-
{% include 'gitment.swig' %}
10-
{% elif theme.valine.enable and theme.valine.appid and theme.valine.appkey %}
11-
{% include 'valine.swig' %}
9+
{% include 'gitment.swig' %}
1210
{% elif theme.gitalk.enable %}
13-
{% include 'gitalk.swig' %}
11+
{% include 'gitalk.swig' %}
1412
{% endif %}
1513
{% endif %}
14+
15+
{# Valine Comment Count #}
16+
{% if theme.valine.enable and theme.valine.appid and theme.valine.appkey %}
17+
{% include 'valine.swig' %}
18+
{% endif %}

source/css/_common/components/footer/footer.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
}
1616

1717
if hexo-config('footer.icon.animated') {
18-
#animate {
18+
#animate {
1919
animation: iconAnimate 1.33s ease-in-out infinite;
20-
}
20+
}
2121
}
2222

2323
.with-love {

source/css/_common/components/pages/schedule.styl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272
li.event-past {
7373
background: #FCFCFC
74-
padding: 15px 0 15px 10px
74+
padding: 15px 0 15px 10px
7575
& > * {
7676
opacity: .9
7777
}
@@ -97,7 +97,6 @@
9797
color: #FFF!important
9898
}
9999
}
100-
101100
li.event-future {
102101
background: #222
103102
color: #FFF

0 commit comments

Comments
 (0)