mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-04 03:08:00 +09:00
11 lines
616 B
Plaintext
11 lines
616 B
Plaintext
- var limit = theme.aside.newest_comment.limit ? theme.aside.newest_comment.limit : 5
|
|
if theme.comment.use
|
|
case theme.comment.use[0]
|
|
when 'Twikoo'
|
|
!=partial('includes/widgets/third-party/news-comment/twikoo', {limit}, {cache: true})
|
|
when 'Waline'
|
|
!=partial('includes/widgets/third-party/news-comment/waline', {limit}, {cache: true})
|
|
when 'Valine'
|
|
!=partial('includes/widgets/third-party/news-comment/valine', {limit}, {cache: true})
|
|
when 'Artalk'
|
|
!=partial('includes/widgets/third-party/news-comment/artalk', {limit}, {cache: true}) |