Add solitude

This commit is contained in:
IF-chan
2024-07-05 21:01:19 +08:00
parent 26d71c4fbc
commit 71758b9fce
289 changed files with 23277 additions and 0 deletions
@@ -0,0 +1,18 @@
.aside-content#aside-content
- var noSticky, Sticky
if(is_home())
- noSticky = theme.aside.home.noSticky.split(',')
- Sticky = theme.aside.home.Sticky.split(',')
else if(is_post())
- noSticky = theme.aside.post.noSticky.split(',')
- Sticky = theme.aside.post.Sticky.split(',')
else if(is_page() || is_archive() || is_tag() || is_category())
- noSticky = theme.aside.page.noSticky.split(',')
- Sticky = theme.aside.page.Sticky.split(',')
each item in noSticky
include ./asideSwitch.pug
.sticky_layout
if page.toc
include ./asideToc.pug
each item in Sticky
include ./asideSwitch.pug