inneranimal
Modular concrete and glass architectural pavilions under overcast light
CMS & ThemesCreated: Oct 14, 20266 min read

Multi-Domain CMS Sections: Separating Platform Chrome from Merchant Themes

Don't standardize HTML layouts across themes—standardize the CMS data contract and logical media_asset IDs so every domain can re-theme freely with zero hardcoded URLs.

To support many domains and custom themes (beautifultheme1, iasf, iapj) inside one CMS without locking every storefront into a single layout, separate your architecture into two layers: Platform Chrome and Merchant Theme Sections.

LayerWho Uses ItLayout FreedomHow It Is Controlled
1. Platform Shell (.ia-universal-footer)Core InnerAnimalMedia & AgentSam domainsStandardized layout (CTA + Contact + 3 Link Groups)Skinned per domain via --footer-* CSS custom properties.
2. Theme Footer Sections (iapj, iasf, etc.)Merchant stores & custom domain sites100% custom HTML/CSS layout per themeDriven by standardized footer.schema.json blocks and media IDs.

Standardized CMS Footer Schema & Asset Reference Rules

Themes must never bake raw CDN URLs or .glb filenames into JS bundles or TSX components. Every 3D scene, portrait, and cover image is declared via logical asset IDs resolved through the CMS media layer at runtime.

The Zero-Hardcoded-URLs Standard

All media and navigation targets flow through site.manifest.json and resolveMedia(mediaRef), supporting window.__IA_MEDIA_MAP__ runtime injection without editing theme code.

footer.schema.json (excerpt) · json
{
  "section": "footer",
  "name": "Site Footer",
  "settings": [
    { "type": "color", "id": "bg", "label": "Background", "default": "#070709" },
    { "type": "color", "id": "accent", "label": "Accent", "default": "#7c5cff" },
    {
      "type": "media_asset",
      "id": "backdrop_glb",
      "label": "3D Scene (.glb)",
      "accept": ["model/gltf-binary"]
    }
  ]
}
Editorial studio portrait at a minimalist drafting desk

Written by InnerAnimalMedia

Architecting Systematic Autonomous Machinery (SAM), hybrid edge-to-local Go runtimes, and multi-domain editorial systems.

Continue Reading