mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
18 lines
700 B
Plaintext
18 lines
700 B
Plaintext
.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 |