add Google AdSense auto-ads loader

Shares the same publisher account as qipaobuzz (ca-pub-9763775565109295).
site.ads = { enabled: true, publisherId: '9763775565109295' }; Layout
conditionally injects the adsbygoogle.js loader in <head> when ads are
enabled, letting Google's auto-ads system place units automatically
(no manual <ins> slots — start with auto-ads, can add explicit slots
later if specific placements are needed).

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

View File

@@ -3,4 +3,8 @@ export const site = {
description: 'Street culture · Anatomy of online hype, from peak to 404',
url: 'https://hype404.com',
postsPerPage: 10,
ads: {
enabled: true,
publisherId: '9763775565109295',
},
};