diff --git a/package.json b/package.json index 73c637468..07a11aaa7 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "astro": "5.7.9", "astro-expressive-code": "^0.41.3", "astro-icon": "^1.1.5", - "glob": "^11.0.3", "hastscript": "^9.0.1", "katex": "^0.16.22", "markdown-it": "^14.1.0", diff --git a/src/content/posts/ipfs-api.md b/src/content/posts/ipfs-api.md index 1d4b5740b..63f298113 100644 --- a/src/content/posts/ipfs-api.md +++ b/src/content/posts/ipfs-api.md @@ -21,7 +21,7 @@ body使用 `from-data` ,key为 `file` vlaue选择一个图片文件,不宜 示例Curl -```firestore-security-rules +```bash curl --location 'https://ipfs-relay.crossbell.io/upload' \ --form 'file=@"/C:/Users/AcoFork/Pictures/b_53bb4f7fa91d684e72b666504e3fcc1897.jpg"' ``` diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index a90e858c6..e2bca5d3b 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -116,35 +116,12 @@ const jsonLd = { - - {gitHubEditConfig.enable && ( -
-
-
- -
-
-

发现错误或想要改进这篇文章?

- - - 在 GitHub 上编辑此页 - - -
-
-
- )} - - -
-
+ +
+ +
-
+

这篇文章是否对你有帮助?

@@ -160,6 +137,33 @@ const jsonLd = {
+ + {gitHubEditConfig.enable && ( + <> + +
+ + +
+
+ +
+
+

发现错误或想要改进这篇文章?

+ + + 在 GitHub 上编辑此页 + + +
+
+ + )}
{licenseConfig.enable && }