mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-04 03:08:00 +09:00
19 lines
541 B
Plaintext
19 lines
541 B
Plaintext
case item
|
|
when 'about'
|
|
include ./asideInfoCard.pug
|
|
when 'flip'
|
|
include ./asideFlipCard.pug
|
|
when 'newestPost'
|
|
include ./asideNewestPost.pug
|
|
when 'allInfo'
|
|
include ./asideAllInfo.pug
|
|
when 'ads'
|
|
include ./asideAdsense.pug
|
|
when 'newest_comment'
|
|
include ./asideNewstComments.pug
|
|
default
|
|
- const custom = site.data?.aside?.find((i) => i.name === item)
|
|
if custom
|
|
include ./asideCustom.pug
|
|
else
|
|
include ../../page/default.pug |