[object Object]

← back to Silverleafwallpaper

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

6149ea22fb46c9de7cfa90b3ff8519aea4b44388 · 2026-06-01 15:44:23 -0700 · Steve Abrams

Files touched

Diff

commit 6149ea22fb46c9de7cfa90b3ff8519aea4b44388
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 1 15:44:23 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 8f669af..0a8066a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -921,8 +921,6 @@ document.addEventListener('DOMContentLoaded', function(){ try { renderRailSectio
 <!-- ============================================================
      DW UNIVERSAL CONTACT MODULE — fashion-house UX
      Inject before   <script src="/hero-4grid.js" defer></script>
-<script>window.DwHeaderConfig={siteName:"Silver Leaf Wallpaper",accent:"#D70000",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).
@@ -1277,5 +1275,7 @@ document.addEventListener('DOMContentLoaded', function(){ try { renderRailSectio
         data-mode="retail"
         defer onerror="this.remove()"></script>
 
+<script>window.DwHeaderConfig={siteName:"Silver Leaf Wallpaper",accent:"#D70000",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>

← 52c814c hero: rotate curated room-setting pool (hero-pool.json), gua  ·  back to Silverleafwallpaper  ·  dw-header: hide ANY pre-existing <header> (not just ns-heade ee1f9f9 →