2022-12-12 21:07:22 +08:00
|
|
|
@import 'aplayer'
|
|
|
|
|
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'
|
2024-01-04 13:39:50 +08:00
|
|
|
if hexo-config('plugins.mermaid.style_optimization')
|
2023-02-12 17:44:30 +08:00
|
|
|
@import 'mermaid'
|
2023-05-09 12:54:34 +08:00
|
|
|
if hexo-config('plugins.copycode.enable')
|
|
|
|
@import 'copycode'
|
2023-12-18 12:34:56 +08:00
|
|
|
if hexo-config('plugins.tianli_gpt.enable')
|
|
|
|
@import 'tianli_gpt'
|
2021-02-23 21:09:49 +08:00
|
|
|
|
2024-02-07 18:30:36 +08:00
|
|
|
if hexo-config('plugins.katex.enable')
|
|
|
|
@import 'katex'
|
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'
|