# Site Blocks

> Site-wide blocks for EmDash: place notices and other blocks into theme regions, with Drupal-style show/hide path rules.

Source: https://emdashcmseverything.com/plugins/site-blocks/

- Category: Editor Experience
- Status: available
- Version: 0.1.0
- Price: Unknown
- Compatibility: EmDash >=1.3.0
- License: MIT
- Maintainer: Ariadne Ops
- Download: https://www.npmjs.com/package/emdash-plugin-site-blocks
- Repository: https://github.com/Ariadne-Ops/emdash-plugin-site-blocks
- Published: 2026-11-07

Site-wide blocks for EmDash: place notices and other blocks into theme regions, with Drupal-style show/hide path rules.

## Installation

Install the package from npm:

```bash
npm install emdash-plugin-site-blocks
```

Register the plugin in your Astro config:

```js
import { siteBlocks } from "emdash-plugin-site-blocks";

emdash({
  plugins: [
    siteBlocks({
      regions: [
        { id: "above-header", label: "Above header" },
        { id: "footer-top", label: "Footer top" },
      ],
    }),
  ],
});
```

## Details

- **Latest version:** 0.1.0
- **License:** MIT
- **Publisher:** Ariadne Ops
- **Requires:** EmDash `>=1.3.0`
- **Source repository:** [https://github.com/Ariadne-Ops/emdash-plugin-site-blocks](https://github.com/Ariadne-Ops/emdash-plugin-site-blocks)
- **npm package:** [emdash-plugin-site-blocks](https://www.npmjs.com/package/emdash-plugin-site-blocks)
