外部插件说明
category
tags
type
status
slug
date
password
Last edited time
Aug 4, 2023 07:40 AM
summary
icon
NotionNext 预支持了一些第三方的功能脚本插件,除了评论插件,还支持背景动效、宠物挂件、音乐播放器等。
开启插件的方法,通常也是在blog.config.js中找到对应的配置并开启即可。
5. 谷歌广告嵌入
申请好Google广告后,在blog.config.js中配置您的谷歌广告id,格式为 ca-pub-xxxxxxxxxxxxxxxx
您可以在谷歌后台开启自动广告,让谷歌自行决定如何放置广告。
手动指定广告单元
您可以选择手动放置广告单元,例如信息流广告,但这种配置会麻烦点,要在对应的地方代码加入<AdSlot/> , 目前的广告单元统一在这里维护:components/GoogleAdsenes.js
- Twikoo
- Giscus
- Cusdis
Last update: