2021-02-19 23:33:19 +08:00
|
|
|
// 根据主题配置加载
|
2021-02-24 21:27:31 +08:00
|
|
|
if hexo-config('plugins.lazyload.enable')
|
|
|
|
@import 'lazyload'
|
2021-02-19 23:33:19 +08:00
|
|
|
if hexo-config('plugins.swiper.enable')
|
|
|
|
@import 'swiper'
|
2021-02-20 13:09:41 +08:00
|
|
|
if hexo-config('plugins.scrollreveal.enable')
|
|
|
|
@import 'scrollreveal'
|
2022-01-27 13:46:11 +08:00
|
|
|
if hexo-config('plugins.fancybox.enable')
|
|
|
|
@import 'fancybox'
|
2021-02-23 21:09:49 +08:00
|
|
|
|
2022-11-27 17:16:38 +08:00
|
|
|
|
2021-02-23 21:09:49 +08:00
|
|
|
// 评论
|
2021-07-23 23:44:25 +08:00
|
|
|
if hexo-config('comments.service') == 'beaudar'
|
|
|
|
@import 'comments/beaudar'
|
|
|
|
if hexo-config('comments.service') == 'twikoo'
|
|
|
|
@import 'comments/twikoo'
|
2021-02-23 21:09:49 +08:00
|
|
|
if hexo-config('comments.service') == 'utterances'
|
|
|
|
@import 'comments/utterances'
|
2022-08-09 12:15:50 +08:00
|
|
|
if hexo-config('comments.service') == 'waline'
|
|
|
|
@import 'comments/waline'
|
2022-12-11 14:33:10 +08:00
|
|
|
if hexo-config('comments.service') == 'artalk'
|
|
|
|
@import 'comments/artalk'
|