add Google AdSense auto-ads loader

Shares the same publisher account as qipaobuzz / hype404
(ca-pub-9763775565109295). site.ads = { enabled: true, publisherId };
Layout conditionally injects the adsbygoogle.js loader in <head> when
ads are enabled — Google auto-ads handles placement.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Code
2026-05-01 18:30:44 +08:00
parent 4428636492
commit b18887a8f3
2 changed files with 13 additions and 0 deletions

View File

@@ -3,4 +3,8 @@ export const site = {
description: "Where the internet's MVPs go viral",
url: 'https://viralmvp.com',
postsPerPage: 10,
ads: {
enabled: true,
publisherId: '9763775565109295',
},
};