← back to Hollywood Wallcoverings
TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)
ef88ba2f1de9568dffbea1358c28911936c732f3 · 2026-09-09 16:02:09 -0700 · Steve
Files touched
Diff
commit ef88ba2f1de9568dffbea1358c28911936c732f3
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Sep 9 16:02:09 2026 -0700
TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)
---
server.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/server.js b/server.js
index 9ef4183..d2543fb 100644
--- a/server.js
+++ b/server.js
@@ -89,6 +89,7 @@ let DATA_RAW = [];
const DW_SHOPIFY = 'https://designerwallcoverings.com';
const app = express();
+app.get('/ads.txt', (req, res) => res.type('text/plain').send('google.com, pub-5278231299883833, DIRECT, f08c47fec0942fa0'));
app.get(['/favicon.ico','/favicon.svg'], (req, res) => res.sendFile(require('path').join(__dirname, 'public', req.path.slice(1))));
@@ -248,6 +249,7 @@ function memoSampleUrl(handle) {
const layout = (title, body, { q='', type='' } = {}) => `<!doctype html>
<html lang="en">
<head>
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>${esc(title)} — Hollywood Wallcoverings</title>
@@ -624,6 +626,7 @@ const layout = (title, body, { q='', type='' } = {}) => `<!doctype html>
</style>
<header class="ns-header">
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
<a href="/" class="ns-brand" aria-label="Home">
<span class="ns-dot"></span>
<span class="ns-name">Hollywood Wallcoverings</span>
@@ -665,6 +668,7 @@ const layout = (title, body, { q='', type='' } = {}) => `<!doctype html>
</script>
<header class="top">
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
<a href="/" class="brand">Hollywood Wallcoverings<small>Old-Hollywood Glamour for the Modern Interior</small></a>
<button class="hamburger" id="hamburger" aria-label="Open menu" onclick="toggleMenu()"><span></span><span></span><span></span></button>
</header>
← 17e451e GA4: propagate site gtag to untagged pages (fleet coverage)
·
back to Hollywood Wallcoverings
·
Add Instagram embed of latest live posts to homepage (TK-113 2cd95d0 →