Skip to content

Commit

Permalink
chore: disable og-image for a while because twimoji.maxcdn is down
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionad-Morotar committed Mar 30, 2024
1 parent a989e9e commit 250a08a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
"qwen"
],
"cSpell.words": [
"heroicons",
"iconify",
"monokai",
"nuxthq",
"nuxtjs",
"typecheck"
]
}
2 changes: 1 addition & 1 deletion content/1.flows/4.stealing-time-from-god.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ description: “双手手掌都有四条横纹的人,就是能偷时间的人

我从神的手中偷取时间。

## 增订 | 2020年8月7日
## 增订 | 2020 年 8 月 7 日

从去年 10 月份开始,换到了一个能晒到太阳的地方住。十分遗憾,现在已经找不回“看到时间里的蛀虫”这种感觉了。
4 changes: 2 additions & 2 deletions content/6.maps/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ description: 从笔记目录中整理出来的知识地图
* 小程序
<!-- /maps/_web/miniapp -->

### [框架]()
### 框架
<!-- /maps/_framework/index -->

* Micro FrontEnd
Expand Down Expand Up @@ -91,7 +91,7 @@ description: 从笔记目录中整理出来的知识地图

## AI

* [AIGC](/maps/_ai/ai)
<!-- * [AIGC](/maps/_ai/ai) -->

## 后端

Expand Down
2 changes: 1 addition & 1 deletion content/7.gists/taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`[email protected])
![](https://mgear-image.oss-cn-shanghai.aliyuncs.com/image/other/V~CO7GR6GA9%3HMJ2`[email protected])
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
11 changes: 6 additions & 5 deletions pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 250a08a

Please sign in to comment.