Skip to content

Commit

Permalink
Fix theme-next#569 Valine Comment Count (theme-next#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang authored Jan 6, 2019
1 parent d560d3a commit e01c5dd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
17 changes: 10 additions & 7 deletions layout/_third-party/comments/index.swig
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{% if page.comments %}
{% if theme.disqus.enable %}
{% include 'disqus.swig' %}
{% include 'disqus.swig' %}
{% elif theme.livere_uid %}
{% include 'livere.swig' %}
{% include 'livere.swig' %}
{% elif theme.changyan.enable and theme.changyan.appid and theme.changyan.appkey %}
{% include 'changyan.swig' %}
{% include 'changyan.swig' %}
{% elif theme.gitment.enable and theme.gitment.client_id %}
{% include 'gitment.swig' %}
{% elif theme.valine.enable and theme.valine.appid and theme.valine.appkey %}
{% include 'valine.swig' %}
{% include 'gitment.swig' %}
{% elif theme.gitalk.enable %}
{% include 'gitalk.swig' %}
{% include 'gitalk.swig' %}
{% endif %}
{% endif %}

{# Valine Comment Count #}
{% if theme.valine.enable and theme.valine.appid and theme.valine.appkey %}
{% include 'valine.swig' %}
{% endif %}
4 changes: 2 additions & 2 deletions source/css/_common/components/footer/footer.styl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
}

if hexo-config('footer.icon.animated') {
#animate {
#animate {
animation: iconAnimate 1.33s ease-in-out infinite;
}
}
}

.with-love {
Expand Down
3 changes: 1 addition & 2 deletions source/css/_common/components/pages/schedule.styl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
}
li.event-past {
background: #FCFCFC
padding: 15px 0 15px 10px
padding: 15px 0 15px 10px
& > * {
opacity: .9
}
Expand All @@ -97,7 +97,6 @@
color: #FFF!important
}
}

li.event-future {
background: #222
color: #FFF
Expand Down

0 comments on commit e01c5dd

Please sign in to comment.