mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 11:06:32 +09:00
10 lines
327 B
Plaintext
10 lines
327 B
Plaintext
script#config-diff.
|
|
var PAGE_CONFIG = {
|
|
is_post: !{is_post()},
|
|
is_page: !{!is_post() && !is_home()},
|
|
is_home: !{is_home()},
|
|
page: '!{page.type}',
|
|
toc: !{!!page.toc},
|
|
comment: !{!!page.comment},
|
|
ai_text: !{is_post && page.ai_text ? "'"+ page.ai_text+"'" : false}
|
|
} |