IndexNow Ping
当你配置的集合中的条目发布或取消发布时,向 IndexNow 发送通知的 EmDash 插件。
插件
IndexNow Ping
当你配置的集合中的条目发布或取消发布时,向 IndexNow 发送通知的 EmDash 插件。
当你配置的集合中的条目发布或取消发布时,向 IndexNow 发送通知的 EmDash 插件。
安装
从 npm 安装该软件包:
npm install emdash-plugin-indexnow
在 Astro 配置中注册该插件:
import emdash from "emdash/astro";
import { indexnow } from "emdash-plugin-indexnow";
export default defineConfig({
integrations: [
emdash({
plugins: [
indexnow({
// Collection slug -> public URL pattern for its entries.
routes: { pages: "/:slug", posts: "/blog/:slug" },
}),
],
}),
],
});
详细信息
- 最新版本: 0.1.1
- 许可证: MIT
- 发布者: Jesse Slomowitz
- 要求: EmDash
>=1.0.1 - 源代码仓库: https://github.com/jesseagleboy/emdash-plugin-indexnow
- npm 包: emdash-plugin-indexnow