File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
layout/_plugins/_page_plugins/fcircle_lite Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -974,6 +974,17 @@ plugins:
974
974
expire_days : 1 # 本地文章缓存数据过期时间(天)
975
975
js :
https://npm.elemecdn.com/[email protected] /dist/fcircle.min.js # fcircle.min.js的url
976
976
977
+ # 轻量友链朋友圈
978
+ # https://github.com/willow-god/Friend-Circle-Lite
979
+ # https://blog.liushen.fun/posts/4dc716ec/
980
+ fcircle_lite :
981
+ # Set `plugins: ["fcircle_lite"]` to enable in front-matter
982
+ private_api_url : # 填写你的fc_Lite地址
983
+ page_turning_number : 20 # 点击加载更多时,一次最多加载几篇文章,默认20
984
+ error_img : https://i.p-i.vip/30/20240815-66bced9226a36.webp # 头像加载失败时,默认头像地址
985
+ css : https://fastly.jsdelivr.net/gh/willow-god/Friend-Circle-Lite/main/fclite.min.css # CSS文件地址
986
+ js : https://fastly.jsdelivr.net/gh/willow-god/Friend-Circle-Lite/main/fclite.min.js # JS文件地址
987
+
977
988
# 消息提示
978
989
# izitoast
979
990
message :
Original file line number Diff line number Diff line change
1
+ <script >
2
+ volantis .layoutHelper (" page-plugins" , ` <div id="friend-circle-lite-root"></div>` )
3
+ </script >
4
+ <script >
5
+ if (typeof UserConfig === ' undefined' ) {
6
+ var UserConfig = {
7
+ private_api_url: ' <%- theme.plugins.fcircle_lite.private_api_url %>' ,
8
+ page_turning_number: < %- theme .plugins .fcircle_lite .page_turning_number % > ,
9
+ error_img: ' <%- theme.plugins.fcircle_lite.error_img %>' ,
10
+ }
11
+ }
12
+ </script >
13
+ <link rel =" stylesheet" href =" <%- theme.plugins.fcircle_lite.css %>" >
14
+ <script src =" <%- theme.plugins.fcircle_lite.js %>" ></script >
You can’t perform that action at this time.
0 commit comments