From 250a08acd26febb096ea063437403199764b9603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BF=E7=94=9F=E7=8B=AE=E5=AD=90?= Date: Sat, 30 Mar 2024 21:39:24 +0800 Subject: [PATCH] chore: disable og-image for a while because twimoji.maxcdn is down --- .vscode/settings.json | 3 +++ content/1.flows/4.stealing-time-from-god.md | 2 +- content/6.maps/0.index.md | 4 ++-- content/7.gists/taro.md | 2 +- nuxt.config.ts | 2 +- pages/[...slug].vue | 11 ++++++----- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8e7f6031..6f98d814 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,8 +26,11 @@ "qwen" ], "cSpell.words": [ + "heroicons", "iconify", + "monokai", "nuxthq", + "nuxtjs", "typecheck" ] } diff --git a/content/1.flows/4.stealing-time-from-god.md b/content/1.flows/4.stealing-time-from-god.md index f878a904..5c95fcdc 100644 --- a/content/1.flows/4.stealing-time-from-god.md +++ b/content/1.flows/4.stealing-time-from-god.md @@ -44,6 +44,6 @@ description: “双手手掌都有四条横纹的人,就是能偷时间的人 我从神的手中偷取时间。 -## 增订 | 2020年8月7日 +## 增订 | 2020 年 8 月 7 日 从去年 10 月份开始,换到了一个能晒到太阳的地方住。十分遗憾,现在已经找不回“看到时间里的蛀虫”这种感觉了。 diff --git a/content/6.maps/0.index.md b/content/6.maps/0.index.md index abd0afc4..6a3717b0 100644 --- a/content/6.maps/0.index.md +++ b/content/6.maps/0.index.md @@ -35,7 +35,7 @@ description: 从笔记目录中整理出来的知识地图 * 小程序 -### [框架]() +### 框架 * Micro FrontEnd @@ -91,7 +91,7 @@ description: 从笔记目录中整理出来的知识地图 ## AI -* [AIGC](/maps/_ai/ai) + ## 后端 diff --git a/content/7.gists/taro.md b/content/7.gists/taro.md index 0d1dc518..9e14a356 100644 --- a/content/7.gists/taro.md +++ b/content/7.gists/taro.md @@ -229,4 +229,4 @@ https://taro-docs.jd.com/taro/blog/2019-07-10-taro-hooks https://taro-docs.jd.com/taro/blog/2020-01-02-gmtc#taro-%E8%BF%90%E8%A1%8C%E6%97%B6 -![](https://mgear-image.oss-cn-shanghai.aliyuncs.com/image/other/V~CO7GR6GA9%3HMJ2`FWK@O.png) \ No newline at end of file +![](https://mgear-image.oss-cn-shanghai.aliyuncs.com/image/other/V~CO7GR6GA9%3HMJ2`FWK@O.png) diff --git a/nuxt.config.ts b/nuxt.config.ts index 0b170a34..9f112b76 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -11,7 +11,7 @@ export default defineNuxtConfig({ '@nuxt/ui', '@nuxthq/studio', '@nuxtjs/fontaine', - 'nuxt-og-image' + // 'nuxt-og-image' ], hooks: { // Define `@nuxt/ui` components as global to use them in `.md` (feel free to add those you need) diff --git a/pages/[...slug].vue b/pages/[...slug].vue index f27d13c4..70493bbd 100644 --- a/pages/[...slug].vue +++ b/pages/[...slug].vue @@ -27,11 +27,12 @@ useSeoMeta({ ogDescription: page.value.description }) -defineOgImage({ - component: 'Docs', - title: page.value.title, - description: page.value.description -}) +// remove og-image +// defineOgImage({ +// component: 'Docs', +// title: page.value.title, +// description: page.value.description +// }) const headline = computed(() => findPageHeadline(page.value))