IndexNow Ping

當你配置的集合中的條目釋出或取消釋出時,向 IndexNow 傳送通知的 EmDash 外掛。

外掛

IndexNow Ping

當你配置的集合中的條目釋出或取消釋出時,向 IndexNow 傳送通知的 EmDash 外掛。

  • 分類: SEO
  • 狀態: 可用
  • 版本: 0.1.1
  • 價格: 未知
  • 來源: npm 套件
  • 安裝方式: npm 原生整合
  • 核實日期: 2026-11-01

當你配置的集合中的條目釋出或取消釋出時,向 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" },
        }),
      ],
    }),
  ],
});

詳細資訊