Merge pull request #353 from constown/dev

右下角按钮优化:
This commit is contained in:
Jerry Wong
2020-09-25 00:22:06 +08:00
committed by GitHub
Unverified

View File

@@ -10,6 +10,10 @@ section#rightside
button#darkmode(type="button" title=_p('rightside.night_mode_title'))
i.fas.fa-adjust
#rightside-config-show
if !(is_post()) && ((theme.translate && theme.translate.enable) || (theme.darkmode.enable && theme.darkmode.button))
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