diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 1c4f760..9c77acc 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -13,13 +13,13 @@ "state": { "type": "markdown", "state": { - "file": "Diary/2026-04-16 周四.md", + "file": "YueQian/相关网站.md", "mode": "source", "source": false, "backlinks": false }, "icon": "lucide-file", - "title": "2026-04-16 周四" + "title": "相关网站" } } ] @@ -89,13 +89,13 @@ "state": { "type": "outline", "state": { - "file": "Diary/2026-04-16 周四.md", + "file": "YueQian/相关网站.md", "followCursor": true, "showSearch": false, "searchQuery": "" }, "icon": "lucide-list", - "title": "2026-04-16 周四 的大纲" + "title": "相关网站 的大纲" } }, { @@ -202,12 +202,12 @@ "state": { "type": "git-view", "state": {}, - "icon": "lucide-ghost", - "title": "git-view" + "icon": "git-pull-request", + "title": "源代码管理" } } ], - "currentTab": 2 + "currentTab": 3 }, { "id": "bf1e7d1a52b4651c", @@ -258,14 +258,16 @@ }, "active": "9c82e7556515fa96", "lastOpenFiles": [ - "Diary/2026/04/2026-04-16 周四.md", - "Diary/2026-04-16 周四.md", "🏡HOME.md", + "Diary/2026/02/2026-02-03 周二.md", + "Diary/2026/02/2026-02-01 周日.md", + "Diary/2026/02/2026-02-11 周三.md", "Template/Diary.md", + "Diary/2026/04/2026-04-16 周四.md", + "Diary/2026/04/2026-04-17 周五.md", + "Diary/2026-04-16 周四.md", "YueQian/相关网站.md", "未命名.md", - "Diary/2026/02/2026-02-03 周二.md", - "Diary/2026/04/2026-04-17 周五.md", "Diary/2026/04", "2026-04-16.md", "Diary/2026/01/2026-01-31 周六.md", @@ -283,8 +285,6 @@ "Diary/2026/01/2026-01-24 周六.md", "Diary/2026/01/2026-01-23 周五.md", "Diary/2026/01/2026-01-06 周二.md", - "Diary/2026/01/2026-01-15 周四.md", - "Diary/2026/01/2026-01-07 周三.md", "Diary/2026/01", "Diary/2026/02", "Diary/2026", diff --git a/Diary/2026-04-16 周四.md b/Diary/2026-04-16 周四.md deleted file mode 100644 index 77dd33d..0000000 --- a/Diary/2026-04-16 周四.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -tags: - - 日记 - - Diary -日期: 2026/4/16 -时间: 2026/4/16 21:12 ---- - -# preface ---- -**今天是2026年的第106天、第16周!** -**天气:** -**地点:** -# summary ---- -**完成了什么?遇到了什么问题?解决方案是什么?** -## 上午 -- [ ] 到地打卡 - - -## 中午 -- [ ] 吃饭打卡 - - -## 下午 -- [ ] 上课打卡 - - -## 晚上 -- [ ] 下课打卡 - - -# 随想 ---- -**任何想法、感悟、反思、碎片记录...** - - - -# afterword ---- - diff --git a/Template/Diary.md b/Template/Diary.md index edb7cb7..bf29250 100644 --- a/Template/Diary.md +++ b/Template/Diary.md @@ -5,24 +5,7 @@ tags: 日期: <%tp.date.now("YYYY/M/D", 0, tp.file.title,"YYYY-MM-DD") %> 时间: <%tp.date.now("YYYY/M/D HH:mm") %> --- -<%* -// 1. 获取当前文件名(即日期,如 2026-04-16) -let title = tp.file.title; -// 2. 解析出年份和月份 -let year = title.substring(0, 4); -let month = title.substring(5, 7); -// 3. 设定目标文件夹路径 (Diary/年份/月份) -let folderPath = `Diary/${year}/${month}`; -// 4. 如果文件夹不存在,则递归创建 -if (!(await app.vault.adapter.exists(folderPath))) { - await app.vault.createFolder(folderPath); - } -// 5. 将当前文件移动到该文件夹下 -// 加上 setTimeout 是为了确保官方插件先完成文件创建,脚本再进行移动 -setTimeout(() => { - tp.file.move(`${folderPath}/${title}`); - }, 50); -%> + # preface --- **今天是{{date:YYYY}}年的第{{date:DDD}}天、第{{date:wo}}!** diff --git a/🏡HOME.md b/🏡HOME.md index 674bbd8..fb21f6c 100644 --- a/🏡HOME.md +++ b/🏡HOME.md @@ -7,4 +7,5 @@ aliases: - home 日期: 2026/4/16 --- -## 准备将这个页面作为导航页,还没想好怎么做 \ No newline at end of file +## 准备将这个页面作为导航页,还没想好怎么做 + \ No newline at end of file