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.
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
- 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
- npm package: emdash-plugin-site-blocks