From 9ad6c4854c0c5bfbeac23e70f781651c5e97b0ed Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 10 Feb 2025 03:29:00 +0000 Subject: [PATCH] Update docs and sort content --- src/content/note/node path模块相关操作.md | 7 +++---- .../post/不引入astro wiki plugin实现链接跳转的思路.md | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/content/note/node path模块相关操作.md b/src/content/note/node path模块相关操作.md index bb35b28..9b478de 100644 --- a/src/content/note/node path模块相关操作.md +++ b/src/content/note/node path模块相关操作.md @@ -1,6 +1,7 @@ --- title: node | path模块相关操作 -subtitle: 记录一些常用用法和区别,以及犯的错。 +description: >- + 本文介绍了Node.js中path模块的常用操作,包括__dirname与process.cwd()的区别,以及path.join()和path.resolve()的差异。特别指出,__dirname和process.cwd()在使用时需注意其返回的路径差异,以免导致静态资源加载失败。同时,path.join()用于连接路径,而path.resolve()则解析为绝对路径。这些知识点对于正确配置和处理文件路径至关重要。 date: 2022-10-24T00:00:00.000Z author: KazooTTT tags: @@ -9,12 +10,10 @@ tags: - node slug: node-path-module-related-operations published: true -description: >- - 本文介绍了Node.js中path模块的常用操作,包括__dirname与process.cwd()的区别,以及path.join()和path.resolve()的差异。特别指出,__dirname和process.cwd()在使用时需注意其返回的路径差异,以免导致静态资源加载失败。同时,path.join()用于连接路径,而path.resolve()则解析为绝对路径。这些知识点对于正确配置和处理文件路径至关重要。 category: 前端 toAstro: true date_created: 2025-01-04T03:44:53.000Z -date_modified: 2025-02-07T03:25:34.000Z +date_modified: 2025-02-10T03:08:58.000Z --- # Path 相关操作 diff --git a/src/content/post/不引入astro wiki plugin实现链接跳转的思路.md b/src/content/post/不引入astro wiki plugin实现链接跳转的思路.md index c439e12..658ff80 100644 --- a/src/content/post/不引入astro wiki plugin实现链接跳转的思路.md +++ b/src/content/post/不引入astro wiki plugin实现链接跳转的思路.md @@ -1,6 +1,6 @@ --- date_created: 2025-02-09T08:34:48.000Z -date_modified: 2025-02-09T11:11:09.000Z +date_modified: 2025-02-10T03:08:27.000Z title: 不引入astro wiki plugin实现链接跳转的思路 date: 2025-02-09T00:00:00.000Z author: KazooTTT @@ -13,7 +13,7 @@ tags: - remark finished: true published: true -category: qianduan +category: 前端 slug: redirect-links-without-astro-wiki-plugin description: >- 在 Obsidian 中,Wiki 语法 ([[某个笔记]]) 使用频率较高,但 Astro 默认不支持。由于现有 remark