[object Object]

← back to Wallpapercanada

FIX: dw-header was injected inside a doc-comment (never ran); re-inject before the real </body>

cc8bd1430fc1849b2dcbc6153059061f2896ff2a · 2026-06-01 15:44:24 -0700 · Steve Abrams

Files touched

Diff

commit cc8bd1430fc1849b2dcbc6153059061f2896ff2a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 1 15:44:24 2026 -0700

    FIX: dw-header was injected inside a doc-comment (never ran); re-inject before the real </body>
---
 public/index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/index.html b/public/index.html
index 451fbf4..0357a9d 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1085,8 +1085,6 @@ document.addEventListener('DOMContentLoaded', function(){ try { renderRailSectio
 <!-- corner-nav disabled (UL-hamburger rebuild) -->
   <!-- hero-4grid grid DISABLED so the single high-res hero shows full-bleed --><!-- <script src="/hero-4grid.js" defer></script> -->
   <script src="/sku-redact.js" defer></script>
-<script>window.DwHeaderConfig={siteName:"Wallpaper Canada",accent:"#9B7B4F",navLinks:[{name:'Home',url:'/'},{name:'Collections',url:'#shop'},{name:'About',url:'/about'},{name:'Care',url:'/care.html'},{name:'History',url:'/history.html'}],adminLinks:[{name:'Shopify admin',url:'https://admin.shopify.com',external:true},{name:'Edit hero',url:'#'},{name:'Analytics',url:'#'}]};</script>
-<script src="/dw-header.js" defer></script>
 </body> in every DW-family sister site.
      Self-contained: CSS + 4 modals + JS submission handlers.
      Uses host site's CSS vars (--bg, --fg, --gold, --rule).
@@ -1459,5 +1457,7 @@ document.addEventListener('DOMContentLoaded', function(){ try { renderRailSectio
         data-mode="retail"
         defer onerror="this.remove()"></script>
 
+<script>window.DwHeaderConfig={siteName:"Wallpaper Canada",accent:"#9B7B4F",navLinks:[{name:'Home',url:'/'},{name:'Collections',url:'#shop'},{name:'About',url:'/about'},{name:'Care',url:'/care.html'},{name:'History',url:'/history.html'}],adminLinks:[{name:'Shopify admin',url:'https://admin.shopify.com',external:true},{name:'Edit hero',url:'#'},{name:'Analytics',url:'#'}]};</script>
+<script src="/dw-header.js" defer></script>
 </body>
 </html>

← 8f952ab hero: rotate curated room-setting pool (hero-pool.json), gua  ·  back to Wallpapercanada  ·  dw-header: hide ANY pre-existing <header> (not just ns-heade 1ff66b5 →