mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
commit
baac097670
@ -10,8 +10,12 @@ section#rightside
|
|||||||
button#darkmode(type="button" title=_p('rightside.night_mode_title'))
|
button#darkmode(type="button" title=_p('rightside.night_mode_title'))
|
||||||
i.fas.fa-adjust
|
i.fas.fa-adjust
|
||||||
#rightside-config-show
|
#rightside-config-show
|
||||||
button#rightside_config(type="button" title=_p("rightside.setting"))
|
if !(is_post()) && ((theme.translate && theme.translate.enable) || (theme.darkmode.enable && theme.darkmode.button))
|
||||||
i.fas.fa-cog
|
button#rightside_config(type="button" title=_p("rightside.setting"))
|
||||||
|
i.fas.fa-cog
|
||||||
|
else if is_post() && (theme.readmode || (theme.translate && theme.translate.enable) || (theme.darkmode.enable && theme.darkmode.button))
|
||||||
|
button#rightside_config(type="button" title=_p("rightside.setting"))
|
||||||
|
i.fas.fa-cog
|
||||||
if is_post() && page.comments !== false && theme.comments.use
|
if is_post() && page.comments !== false && theme.comments.use
|
||||||
a#to_comment(href="#post-comment" title=_p("rightside.scroll_to_comment"))
|
a#to_comment(href="#post-comment" title=_p("rightside.scroll_to_comment"))
|
||||||
i.fas.fa-comments
|
i.fas.fa-comments
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user