← back to Dw Domain Fleet
monetize: render authored content copy verbatim (skip DW wallpaper->wallcovering swap)
e10d68c384d51e0d26f3c14562b1190f771e1391 · 2026-09-09 10:27:48 -0700 · Steve Abrams
For-sale generic domains legitimately contain 'wallpaper'; the DW brand
word-swap only applies to DW funnel copy, not these standalone content sites.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S81Y5KkGKrUHg2mwWQtD96
Files touched
Diff
commit e10d68c384d51e0d26f3c14562b1190f771e1391
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed Sep 9 10:27:48 2026 -0700
monetize: render authored content copy verbatim (skip DW wallpaper->wallcovering swap)
For-sale generic domains legitimately contain 'wallpaper'; the DW brand
word-swap only applies to DW funnel copy, not these standalone content sites.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S81Y5KkGKrUHg2mwWQtD96
---
shared/render.js | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/shared/render.js b/shared/render.js
index 41adb55..50b1700 100644
--- a/shared/render.js
+++ b/shared/render.js
@@ -1144,14 +1144,17 @@ function monetizeHome(cfg) {
];
const guide = Array.isArray(c.guide) ? c.guide : [];
const banner = forSaleBanner(cfg);
+ // NOTE: authored content.* copy is rendered esc-only (NOT clean()) — these are
+ // for-sale generic domains that legitimately contain "wallpaper"; the DW
+ // wallpaper→wallcovering swap only applies to DW-branded funnel copy.
const secHtml = sections.map(s =>
- `<section class="m-sec"><h2>${esc(clean(s.h))}</h2>${
- String(s.body || '').split(/\n\n+/).map(par => `<p>${esc(clean(par))}</p>`).join('')
+ `<section class="m-sec"><h2>${esc(s.h)}</h2>${
+ String(s.body || '').split(/\n\n+/).map(par => `<p>${esc(par)}</p>`).join('')
}</section>`).join('');
const guideHtml = guide.length ? `
<div class="m-guide" id="guide">
- <h2>${esc(clean(c.guideTitle || 'A quick guide'))}</h2>
- <ul>${guide.map(g => `<li><b>${esc(clean(g.k))}</b><span>${esc(clean(g.v))}</span></li>`).join('')}</ul>
+ <h2>${esc(c.guideTitle || 'A quick guide')}</h2>
+ <ul>${guide.map(g => `<li><b>${esc(g.k)}</b><span>${esc(g.v)}</span></li>`).join('')}</ul>
</div>` : '';
return head(cfg, title, desc, '/', null, banner ? 'promo-on' : '')
+ `<style>${monetizeCss()}</style>`
@@ -1164,7 +1167,7 @@ function monetizeHome(cfg) {
</header>
<div class="wrap">
<article class="m-article">
- <p class="lede">${esc(clean(lede))}</p>
+ <p class="lede">${esc(lede)}</p>
${secHtml}
${guideHtml}
</article>
@@ -1232,7 +1235,7 @@ function monetizeAbout(cfg) {
<div style="height:96px"></div>
<div class="wrap"><section class="m-legal">
<h1>${esc(cfg.siteName)}</h1>
- ${String(body).split(/\n\n+/).map(p => `<p>${esc(clean(p))}</p>`).join('')}
+ ${String(body).split(/\n\n+/).map(p => `<p>${esc(p)}</p>`).join('')}
<p>Questions or ideas? Email <a href="mailto:${esc(cfg.siteEmail)}">${esc(cfg.siteEmail)}</a>.</p>
</section></div>
${monetizeFooter(cfg)}
← 197eead monetize mode: AdSense Auto Ads + for-sale banner + content
·
back to Dw Domain Fleet
·
fix(nginx): durable :443 socket normalization for fleet HTTP 990e3da →