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" })],
    }),
  ],
});

详细信息