tangly1024
tangly1024
Notion的API升级,目前AMAZON访问图片的方案已经失效,无法使用。
请配置此处: https://github.com/dishengai/NotionNext/blob/996f46f865670734cbcdccfd56fa887eea93b4d4/blog.config.js#L22
据我所知是改不了这个数据库名; twikoo云端的部署,文档还是tikwoo官方为主,https://twikoo.js.org/backend.html#vercel-%E9%83%A8%E7%BD%B2 , 文档里没有提到可以修改数据库名字
感谢!这是一个非常酷的功能!
如您所说;sitemap只应当包含published文章,此问题将被修复
https://raw.githubusercontent.com/PrismJS/prism-themes/master/themes/prism-solarizedlight.css 此链接不存在 请确认一下你要使用的主题 https://github.com/PrismJS/prism-themes/tree/master/themes 我找到类似的正确的链接如下,这个主题只有夜间模式 https://raw.githubusercontent.com/PrismJS/prism-themes/master/themes/prism-solarized-dark-atom.css
问题出在nodejs的版本不兼容, > @typescript-eslint/[email protected]: The engine "node" is incompatible with this module. Expected version "^16.0.0 || >=18.0.0". Got "14.21.3" 需要 16.0 或18.0 以上版本的nodejs,zeabur默认提供14.21.3的版本,所以无法编译。 最近没有使用Zeabur,可能需要咨询一下官方,是否有切换nodejs版本的功能或配置选项。
找到问题了,项目默认的Dockerfile是用的旧版Nodejs ```Dockerfile ARG NOTION_PAGE_ID # Install dependencies only when needed FROM node:14-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat WORKDIR...
" 在google search console里面request indexing, 但几次下来都是 Failed: Redirect error。 用lighthouse和其他redirect tool分析都没有问题。有人需要过相同的情况吗? 间差一下你的url地址 https://tangly1024.com 和 https://www.tangly1024.com 这两个地址是不同的,切换 一个试试,因为vercel后台默认推荐做了 redirect
这和谷歌广告的使用方法有关系。我简单说明一下: 1. 注册开通谷歌Adsense账号 2. 获取PUB_ID 填写到站点 3. https://github.com/tangly1024/NotionNext/blob/9197b3c6bbcefc02e253b6c13b8c0abdc9cdb84f/blog.config.js#L331 4. 在谷歌后台创建四种类型的广告单元,获取广高单元的ID  5. 在代码中配置广告单元ID 6. https://github.com/tangly1024/NotionNext/blob/9197b3c6bbcefc02e253b6c13b8c0abdc9cdb84f/blog.config.js#L333-L336 7. 在你需要引入特定自定义广告的地方添加组件代码 即可 8. 相关AdSlot源码 9. https://github.com/tangly1024/NotionNext/blob/9197b3c6bbcefc02e253b6c13b8c0abdc9cdb84f/components/GoogleAdsense.js#L51-L95 10. 相关使用案例 11. https://github.com/tangly1024/NotionNext/blob/9197b3c6bbcefc02e253b6c13b8c0abdc9cdb84f/themes/simple/index.js#L74