mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
Add solitude
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user