Site Blocks

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

Plugin

Site Blocks

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

  • Category: Editor Experience
  • Status: available
  • Version: 0.1.0
  • Price: Unknown
  • Source: npm package
  • Install method: Native npm integration
  • Verified: 2026-11-07
  • Compatibility: EmDash >=1.3.0
  • Maintainer: Ariadne Ops

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:

npm install emdash-plugin-site-blocks

Register the plugin in your Astro config:

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

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

Details