Site Notice

適用於 EmDash 的定時 Markdown 全站公告橫幅,可在後臺和通過 MCP 編輯。

外掛

Site Notice

適用於 EmDash 的定時 Markdown 全站公告橫幅,可在後臺和通過 MCP 編輯。

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

適用於 EmDash 的定時 Markdown 全站公告橫幅,可在後臺和通過 MCP 編輯。

安裝

從 npm 安裝此套件:

npm install emdash-plugin-site-notice

在 Astro 設定中註冊此外掛:

import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { siteNotice } from "emdash-plugin-site-notice";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [siteNotice({ timeZone: "Europe/Paris" })],
    }),
  ],
});

詳細資訊