@bettercms-ai/astro 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -137,7 +137,7 @@ const needsTabs = !nested && containsType(blocks, "tabs");
137
137
  const pass = { forms, components, turnstileSiteKey, nested: true };
138
138
  ---
139
139
 
140
- <!--
140
+ {/*
141
141
  `data-bcms-page` marks this subtree as ours to edit — the Astro equivalent of the hosted
142
142
  renderer's `<main class="bcms-page">` and the Next adapter's container marker. The editor gates
143
143
  the whole section lane on a CONTAINER marker rather than on the presence of blocks, so a page
@@ -145,7 +145,11 @@ const pass = { forms, components, turnstileSiteKey, nested: true };
145
145
 
146
146
  Only on the outermost render: every self-recursion passes `nested: true`, and a marker on each
147
147
  nested container would claim a column's interior is a page.
148
- -->
148
+
149
+ An expression comment, NOT `<!-- -->`: Astro emits HTML comments to the output, and this
150
+ component recurses into itself for columns/tabs/sliders/components, so an HTML comment here
151
+ shipped once per nesting level to every visitor (FLO-1161).
152
+ */}
149
153
  <div class={className} data-bcms-page={nested ? undefined : ""}>
150
154
  {blocks.map((block) => {
151
155
  const p = anyProps(block);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bettercms-ai/astro",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "type": "module",
5
5
  "description": "The BetterCMS adapter for Astro — a `bettercms()` integration, a `bettercms:client` virtual module, typed content loaders, draft preview, and native .astro rendering components.",
6
6
  "main": "./dist/index.js",