Site Notice
适用于 EmDash 的定时 Markdown 全站公告横幅,可在后台和通过 MCP 编辑。
插件
Site Notice
适用于 EmDash 的定时 Markdown 全站公告横幅,可在后台和通过 MCP 编辑。
适用于 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" })],
}),
],
});
详细信息
- 最新版本: 0.1.0
- 许可证: MIT
- 发布者: Raphael Apard
- 要求: EmDash
>=1.4.0 - 源代码仓库: https://github.com/raphaelApard/emdash-plugin-site-notice
- npm 包: emdash-plugin-site-notice