Sample: a worked move of a HubSpot site to Adobe Edge Delivery Services. The site is boilerplate.hubspotcms.com: HubSpot's own public demo of its open-source CMS boilerplate theme. It is a demo, not a client. Run on 13 November 2026 with the same scan and importer we use in paid work. All sample reports
HubSpot to Edge Delivery Services · worked example · 13 November 2026
Three steps, each shown with its real output: scan the site, generate the import kit from the HubSpot block mapping, then run the kit on real pages. The last step shows what converts cleanly and what still needs an engineer.
The scan read 40 pages and recognised HubSpot from: generator meta tag says HubSpot; HubSpot response headers; HubSpot CMS wrappers and system paths; HubSpot CMS module and page markers; files from HubSpot's file manager.
| Fact | Value |
|---|---|
| Theme | cms-theme-boilerplate |
| Page types seen (3) | blog-listing, blog-post, site-page |
| Drag-and-drop areas | in use |
| Modules seen (11) | Pricing_card, blog_listing, card-section, featured-roles, meetings, menu, pagination, role-details, role-listing, search_input, social-follow |
| Blogs | 1 |
| Template | Pages read | Blocks, in page order |
|---|---|---|
| Site page | 24 | columns, form, columns |
| Blog post page | 12 | plain content |
| Blog listing page | 4 | form, cards |
| Block | Kind | Pages | Found as | Hours |
|---|---|---|---|---|
| footer | standard | 40 | footer | 3–8 |
| header | standard | 40 | header | 6–16 |
| cards (blog-listing) | standard | 16 | .hs-blog-post-listing .hs_cos_wrapper_type_module > .card .hs_cos_wrapper_type_module > .card-listing | 3.5–10 |
| columns | standard | 16 | .row-fluid | 2–6 |
| form (blog-subscribe, login) | standard | 10 | .hs_cos_wrapper_type_blog_subscribe .hs_cos_wrapper_type_form .hs_cos_wrapper_type_member_login | 7–20 |
| embed | standard | 1 | .hs_cos_wrapper_type_module > .meetings-iframe-container | 2–6 |
| quote | standard | 1 | blockquote | 1–3 |
| role-filter-wrapper | custom | 1 | .hs_cos_wrapper_type_module > .role-filter-wrapper | 8–24 |
| Item | Pages | Confidence | Why |
|---|---|---|---|
| Analytics data layer and tags (Adobe Analytics, Launch, GTM) | 40 | high | HubSpot tracking code: added again on Edge Delivery if HubSpot stays for marketing, or replaced by Adobe Analytics. |
| Site search | 39 | high | HubSpot site search: search is rebuilt on a query index or a search service. |
| Forms (AEM Forms, custom form handlers) | 22 | high | HubSpot form: drawn by HubSpot's script, so its fields are not in the page. The form is rebuilt, or kept as a HubSpot embed that still writes to the … |
| Languages, locales and translation workflow | 5 | high | hreflang: en, sv |
| Logged-in areas, closed user groups, personalised pages | 1 | high | HubSpot membership sign-in or registration form: private content needs an identity service on the Adobe side. |
| Third-party integrations and APIs | 12 | medium | HubSpot blog comments: Edge Delivery has no comment store, so they move to an outside service or are dropped. |
| Nested components (EDS blocks cannot nest) | 11 | medium | .hs_cos_wrapper_type_form inside a columns block |
HubSpot CMS prints the type of its default modules (hs_cos_wrapper_type_…) and its row and column grid (row-fluid, span6) on every page, so the grid and the default modules map directly. A theme's own modules carry no name, so they are placed by the class their developer gave them. From it, the kit holds an AEM Importer script (tools/importer/import.js), a starter block for each mapping (4 standard, 3 custom) and a README. 16 of 16 files parse.
| HubSpot source | Found by | Edge Delivery block | Confidence |
|---|---|---|---|
dnd_column, dnd_module with a width | .widget-span.span1, .widget-span.span2, .widget-span.span3, .widget-span.span4, .widget-span.span5, .widget-span.span6, .widget-span.span7, .widget-span.span8, .widget-span.span9, .widget-span.span10, .widget-span.span11 | columns | medium |
@hubspot/blog_posts | .hs-blog-post-listing | cards | medium |
@hubspot/form, @hubspot/blog_subscribe, member-login | .hs_cos_wrapper_type_form, .hs_cos_wrapper_type_blog_subscribe, .hs_cos_wrapper_type_member_login | form | low |
search_input, @hubspot/search_results | .hs-search-field, .hs-search-results | search | low |
card, card-listing, cards | .hs_cos_wrapper_type_module > .card, .hs_cos_wrapper_type_module > .card-listing, .hs_cos_wrapper_type_module > .cards | cards-card | low |
meetings-iframe-container | .hs_cos_wrapper_type_module > .meetings-iframe-container | embed | low |
role-filter-wrapper | .hs_cos_wrapper_type_module > .role-filter-wrapper | role-filter-wrapper | low |
Headings, paragraphs, lists, images and buttons need no block: they stay plain content in the document. This is the generated columns block, unedited:
/*
* Columns block for HubSpot (boilerplate.hubspotcms.com), written by Surge Migrate from the block mapping.
* Old components: dnd_column, dnd_module with a width.
* Rows, in order: none; then one row per item: its content.
* tools/importer/import.js writes the rows in this order. Change both together.
*/
const ROWS = [];
const ITEMS = [];
/** Splits the block into block-level rows (by field name) and item rows. */
function readBlock(block) {
const rows = [...block.children];
const fields = {};
ROWS.forEach((name, i) => {
if (rows[i]) {
rows[i].classList.add('columns-' + name.replace(/[A-Z]/g, (m) => '-' + m.toLowerCase()));
fields[name] = rows[i].firstElementChild || rows[i];
}
});
return { rows, fields, items: rows.slice(ROWS.length) };
}
function isEmpty(cell) {
return !cell || (!cell.textContent.trim() && !cell.querySelector('img, picture, video, iframe, a'));
}
export default function decorate(block) {
readBlock(block);
const rows = [...block.children].filter((r) => [...r.children].some((c) => !isEmpty(c)));
const cols = Math.max(1, ...rows.map((r) => r.children.length));
block.classList.add('columns-' + cols + '-cols');
rows.forEach((row) => {
[...row.children].forEach((col) => {
const pic = col.querySelector('picture, img');
if (pic && !col.textContent.trim()) col.classList.add('columns-img-col');
});
});
block.replaceChildren(...rows);
}
The importer script ran on 8 pages of boilerplate.hubspotcms.com, saved on 13 November 2026. Each page becomes an Edge Delivery document: blocks as tables, sections split by <hr>, metadata at the end.
| Page | Blocks built | Sections | Inside other blocks | Fields not found | Nested tables |
|---|---|---|---|---|---|
/index | columns ×4 | 5 | 1 | 0 | 0 |
/about-us | columns ×1 | 1 | 0 | 0 | 0 |
/blog/blog-post-3 | none (plain content only) | 0 | 0 | 0 | 0 |
/blog | cards ×1, form ×1 | 2 | 0 | 1: cards.image | 0 |
/contact | cards-card ×1 | 1 | 0 | 0 | 0 |
/pricing | columns ×1 | 2 | 3 | 0 | 0 |
/recruiting-agency/role-listing | columns ×1, form ×1, cards-card ×1, role-filter-wrapper ×1 | 4 | 0 | 0 | 0 |
/typography | none (plain content only) | 1 | 0 | 0 | 0 |
What this shows honestly: 6 of 8 pages produced blocks; the others are plain headings, text and images, which need none. No block table ended up inside another, which Edge Delivery cannot render. 1 field was not found (for example a card with no image); an engineer checks those before a bulk import. 4 blocks sat inside another block; Edge Delivery blocks cannot nest, so those stay content of the outer block and are listed for review. The header, navigation and footer are not imported page by page: they are built once as the site's header and footer blocks.
<table><tr><th colspan="2">Columns</th></tr><tr><td>
<div class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_module widget-type-linked_image" style data-hs-cos-general-type="widget" data-hs-cos-type="module">
<span class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_linked_image" style data-hs-cos-general-type="widget" data-hs-cos-type="linked_image"><img src="https://boilerplate.hubspotcms.com/hs-fs/hubfs/raw_assets/public/cms-theme-boilerplate/images/grayscale-mountain.png?width=605&height=451&name=grayscale-mountain.png" class="hs-image-widget " width="605" height="451" style="max-width: 100%; height: auto;" alt="Stock placeholder image with grayscale geometrical mountain landscape" title="Stock placeholder image with grayscale geometrical mountain landscape" srcset="https://boilerplate.hubspotcms.com/hs-fs/hubfs/raw_assets/public/cms-theme-boilerplate/images/grayscale-mountain.png?width=303&height=226&name=grayscale-mountain.png 303w, https://boilerplate.hubspotcms.com/hs-fs/hubfs/raw_assets/public/cms-theme-boilerplate/images/grayscale-mountain.png?width=605&height=451&name=grayscale-mountain.png 605w, https://boilerplate.hubspotcms.com/hs-fs/hubfs/raw_assets/public/cms-theme-boilerplate/images/grayscale-mountain.png?width=908&height=677&name=grayscale-mountain.png 908w, https://boilerplate.hubspotcm
…
Run the first step on your own site. The scan reads public pages only and takes a few minutes.
Scan your HubSpot siteHow the move worksEDS Readiness Audit