From cdd9c61641726c55bbee4d8e9e91f128b351b3ba Mon Sep 17 00:00:00 2001 From: wait4x Date: Mon, 2 Nov 2026 11:47:24 +0000 Subject: [PATCH] =?UTF-8?q?Update=20=E9=A1=B5=E9=9D=A2=E6=96=87=E6=A1=88?= =?UTF-8?q?=20=E2=80=9Chome=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/site/home.yaml | 39 ++++++++------------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/content/site/home.yaml b/content/site/home.yaml index 0c390a4..2cfd7ce 100644 --- a/content/site/home.yaml +++ b/content/site/home.yaml @@ -1,24 +1,14 @@ -# 主页身份语(后台「页面文案 → 主页设置」可改) -# 全部字段留空 = 现有形态(字段级回落默认值,零配置零变化) tagline: zh: 写作者 · 读者 · 快门按压者,拥抱开源。 en: Writer · Reader · Shutter-presser — embracing open source. - -# 副标题(可选,markdown 短文本):渲染在身份语下方,留空不渲染 -# subtitle: -# zh: '正在把**阅读、代码与影像**收进同一个工作台' -# en: 'Collecting **reading, code and images** into one workbench' - -# 头像(可选):上传后自动写入 ./assets/avatar-xxx.jpg(走 Astro 图片管线) -# 留空 = 回退内置渐变占位 -# avatar: ./assets/avatar.jpg - -# 站点图标(favicon,全局生效):public 下的路径;留空回退 /favicon.svg -# 上传走 public/icons/(后台媒体库),可填 /icons/my.ico、/icons/my.svg +latestPhotos: 4 +perTrackLimit: 6 +sections: + tracks: true + photos: true + heatmap: true + projects: true favicon: /favicon.svg - -# 社交链接(顺序即展示顺序,后台可增删拖动排序) -# icon 取值:github / rss / email / bilibili / x / 留空(留空按 label 显示纯文字) socials: - label: GitHub url: https://github.com/wait4xx @@ -27,18 +17,5 @@ socials: url: /rss.xml icon: rss - label: 邮件 - url: mailto:admin@wait4x.online + url: mailto:X@alumni.nudt.edu.cn icon: email - -# 最新影像张数(1-6,默认 4;填 0 = 隐藏该区块) -latestPhotos: 4 - -# 首页每轨文章条数(4-8,默认 6) -perTrackLimit: 6 - -# 区块开关(默认全开;关掉的区块不渲染) -sections: - tracks: true - photos: true - heatmap: true - projects: true