Skip to content

Commit 29fbbb3

Browse files
committed
更新朋友圈页面
1 parent 28c00f1 commit 29fbbb3

7 files changed

Lines changed: 52 additions & 304 deletions

File tree

src/assets/friends.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
[
2-
{
3-
"title": "朋友圈",
4-
"imgurl": "https://www.fis.ink/img/logo.png",
5-
"desc": "获取友链的最新动态",
6-
"siteurl": "https://blog.fis.ink/circle/",
7-
"category": "导航",
8-
"tags": [""],
9-
"openInNewTab": false
10-
},
112
{
123
"title": "张洪Heo",
134
"imgurl": "https://bu.dusays.com/2022/12/28/63ac2812183aa.png",

src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const navBarConfig: NavBarConfig = {
4646
LinkPreset.Home,
4747
LinkPreset.Archive,
4848
LinkPreset.Friends,
49+
LinkPreset.Moments,
4950
LinkPreset.About,
5051
{
5152
name: "开往",

src/content/spec/circle.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<div id="friend-circle-lite-root"></div>
2+
<script>
3+
if (typeof UserConfig === 'undefined') {
4+
var UserConfig = {
5+
// 填写你的fc Lite地址
6+
private_api_url: 'https://fc.liushen.fun/',
7+
// 点击加载更多时,一次最多加载几篇文章,默认20
8+
page_turning_number: 24,
9+
// 头像加载失败时,默认头像地址
10+
error_img: 'https://cdn.fishcpy.top/img/2025/07/22/687f17323321a.png',
11+
}
12+
}
13+
</script>
14+
<link rel="stylesheet" href="https://fastly.jsdelivr.net/gh/willow-god/Friend-Circle-Lite/main/fclite.min.css">
15+
<script src="https://fastly.jsdelivr.net/gh/willow-god/Friend-Circle-Lite/main/fclite.min.js"></script>
16+
17+
18+
### 如何加入
19+
20+
如果你想让你的站点出现在朋友圈中,请确保:
21+
22+
- 你的站点已经在[友链页面](/friends)
23+
- 你的站点提供了有效的RSS订阅源
24+
- 你的站点能够正常访问

src/i18n/i18nKey.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ enum I18nKey {
3333
publishedAt = "publishedAt",
3434
license = "license",
3535
friends = "friends",
36+
circle = "circle",
3637
friendsCircle = "friendsCircle",
3738
friendsNum = "friendsNum",
3839
activeNum = "activeNum",

src/i18n/languages/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const en: Translation = {
3636
[Key.publishedAt]: "Published at",
3737
[Key.license]: "License",
3838
[Key.friends]: "Friends",
39+
[Key.circle]: "Circle",
3940
[Key.friendsCircle]: "Friends Circle",
4041
[Key.friendsNum]: "Friends Count",
4142
[Key.activeNum]: "Active Count",

src/i18n/languages/zh_CN.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const zh_CN: Translation = {
3636
[Key.publishedAt]: "发布于",
3737
[Key.license]: "许可协议",
3838
[Key.friends]: "友链",
39+
[Key.circle]: "朋友圈",
3940
[Key.friendsCircle]: "朋友圈",
4041
[Key.friendsNum]: "友链数量",
4142
[Key.activeNum]: "活跃数量",

0 commit comments

Comments
 (0)