[object Object]

← back to Stars of Design

TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)

572966bc60329c7a7e87223adaace26af2093d14 · 2026-09-09 16:02:18 -0700 · Steve

Files touched

Diff

commit 572966bc60329c7a7e87223adaace26af2093d14
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed Sep 9 16:02:18 2026 -0700

    TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)
---
 public/ads.txt          | 1 +
 views/partials/head.ejs | 1 +
 2 files changed, 2 insertions(+)

diff --git a/public/ads.txt b/public/ads.txt
new file mode 100644
index 0000000..8f11fe6
--- /dev/null
+++ b/public/ads.txt
@@ -0,0 +1 @@
+google.com, pub-5278231299883833, DIRECT, f08c47fec0942fa0
diff --git a/views/partials/head.ejs b/views/partials/head.ejs
index ba9d35f..d04faf6 100644
--- a/views/partials/head.ejs
+++ b/views/partials/head.ejs
@@ -1,6 +1,7 @@
 <!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><%= typeof title !== 'undefined' ? title : site_title %></title>

← 06be86b Add per-site favicon (kills /favicon.ico 404)  ·  back to Stars of Design  ·  Add auto-updating All News Daily embedded Shorts section to 8ffbfd9 →