[object Object]

← back to Chinoiseriewallpaper

index.html: interpolate un-rendered DwHeaderConfig template ({{...{name}...}} -> valid JS) so a deploy won't ship a syntax error that blanks the page

11f43cc1e85dda2981dfeb67f7238e320d90b2c1 · 2026-06-01 15:55:59 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 11f43cc1e85dda2981dfeb67f7238e320d90b2c1
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 1 15:55:59 2026 -0700

    index.html: interpolate un-rendered DwHeaderConfig template ({{...{name}...}} -> valid JS) so a deploy won't ship a syntax error that blanks the page
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 public/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index 1acc4de..036445d 100644
--- a/public/index.html
+++ b/public/index.html
@@ -508,7 +508,7 @@
     window.nsContactClose = function () { var m = document.getElementById('nsContactModal'); if (m) m.classList.remove('show'); };
   }
 </script>
-<script>window.DwHeaderConfig={{siteName:"{name}",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>window.DwHeaderConfig={siteName:"Chinoiserie Wallpaper",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>

← 831b2d7 dw-header: hide ANY pre-existing <header> (not just ns-heade  ·  back to Chinoiseriewallpaper  ·  fleet rebuild: dw-header (hamburgers UL + centered name) + u f1faecc →