Header & Footer Code Snippets
在 EmDash 頁面的 head 或 body 中新增自定義程式碼片段(分析、驗證標籤、聊天元件、CSS/JS),無需修改主題。
外掛
Header & Footer Code Snippets
在 EmDash 頁面的 head 或 body 中新增自定義程式碼片段(分析、驗證標籤、聊天元件、CSS/JS),無需修改主題。
在 EmDash 頁面的 head 或 body 中新增自定義程式碼片段(分析、驗證標籤、聊天元件、CSS/JS),無需修改主題。
安裝
從 npm 安裝此套件:
npm install emdash-header-footer-code
在 Astro 設定中註冊此外掛:
// astro.config.mjs
import { headerFooterCode } from "emdash-header-footer-code";
export default defineConfig({
integrations: [emdash({ /* … */ plugins: [headerFooterCode()] })],
});
詳細資訊
- 最新版本: 0.1.2
- 授權條款: MIT
- 發布者: jithins
- 需求: EmDash
^1.0.1 - 原始碼儲存庫: https://github.com/jithinsk/emdash-header-footer-code
- npm 套件: emdash-header-footer-code