From d705ca4d6a32f1d87363f7bad62c2a0d6eba5081 Mon Sep 17 00:00:00 2001 From: TeacherDu <46226528+penndu@users.noreply.github.com> Date: Tue, 28 Feb 2023 01:05:07 +0000 Subject: [PATCH] =?UTF-8?q?feat(fcircle):=20=E6=94=AF=E6=8C=81=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E6=96=87=E7=AB=A0=E6=95=B0=E9=87=8F=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E3=80=81=E6=9C=AC=E5=9C=B0=E7=BC=93=E5=AD=98=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 4 +++- layout/_plugins/_page_plugins/fcircle/index.ejs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 40969e97e..eeff3e669 100755 --- a/_config.yml +++ b/_config.yml @@ -935,10 +935,12 @@ plugins: fcircle: # Set `plugins: ["fcircle"]` to enable in front-matter private_api_url: https://fcircle-api.example.com/ # api 地址 + page_init_number: 20 # 初始加载几篇文章 page_turning_number: 10 # 点击加载更多时,一次最多加载几篇文章,默认10 error_img: https://cravatar.cn/avatar/57d8260dfb55501c37dde588e7c3852c # 头像加载失败时,默认头像地址 sort_rule: created # 进入页面时第一次的排序规则,可选值:created/updated - js: https://npm.elemecdn.com/fcircle-theme-yyyz@1.0.10/dist/fcircle.min.js # fcircle.min.js的url + expire_days: 1 # 本地文章缓存数据过期时间(天) + js: https://npm.elemecdn.com/fcircle-theme-yyyz@1.0.13/dist/fcircle.min.js # fcircle.min.js的url # 消息提示 # izitoast diff --git a/layout/_plugins/_page_plugins/fcircle/index.ejs b/layout/_plugins/_page_plugins/fcircle/index.ejs index 07f11377f..b75496ec1 100644 --- a/layout/_plugins/_page_plugins/fcircle/index.ejs +++ b/layout/_plugins/_page_plugins/fcircle/index.ejs @@ -4,9 +4,11 @@