Header & Footer Code Snippets
Add custom code snippets (analytics, verification tags, chat widgets, CSS/JS) to the head or body of EmDash pages — no theme edits.
Plugin
Header & Footer Code Snippets
Add custom code snippets (analytics, verification tags, chat widgets, CSS/JS) to the head or body of EmDash pages — no theme edits.
Add custom code snippets (analytics, verification tags, chat widgets, CSS/JS) to the head or body of EmDash pages — no theme edits.
Installation
Install the package from npm:
npm install emdash-header-footer-code
Register the plugin in your Astro config:
// astro.config.mjs
import { headerFooterCode } from "emdash-header-footer-code";
export default defineConfig({
integrations: [emdash({ /* … */ plugins: [headerFooterCode()] })],
});
Details
- Latest version: 0.1.2
- License: MIT
- Publisher: jithins
- Requires: EmDash
^1.0.1 - Source repository: https://github.com/jithinsk/emdash-header-footer-code
- npm package: emdash-header-footer-code