Add the option to close the sidebar autopen

Fix the code font-size
Add the post view
fix runtimeshow bugs
This commit is contained in:
Jerry
2019-06-08 22:37:30 +08:00
parent 1357f218e5
commit ee434f7dc4
16 changed files with 86 additions and 98 deletions

View File

@@ -1,4 +1,7 @@
#sidebar
- var sidebar_class = theme.auto_open_sidebar.enable === true ? 'auto_open' : ''
#sidebar(class=sidebar_class)
- const showToc = is_post() && page.toc != false && theme.toc.enable
-
let tocNumber