No ads on the homepage; low-profile text-link ads elsewhere (#251)
Some checks are pending
CI / build (push) Waiting to run
Deploy to dev2 / deploy (push) Waiting to run
test / test (push) Waiting to run

- Homepage: removed the 300x250 ad.network unit, its CSS, its rescan effect and the home-only ad.js tag (the ad.network meta verification tag stays).
- Blog index and posts: the single unit is now text_link (AdUnit default), full width with an 8px margin, no centred 300x250 box.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-10-20 23:06:24 -07:00 • committed by GitHub
parent d2cd5ffee3
commit 7171c2cdeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 8 additions and 51 deletions

View file

@ -145,9 +145,7 @@ export default async function BlogPostPage({
</>
) : null}
</div>
<div style={{ display: "flex", justifyContent: "center", marginBottom: "2rem" }}>
<AdUnit slot="709f4f1d-667a-4888-9040-90f5f65120f2" format="banner_300x250" />
</div>
<AdUnit slot="709f4f1d-667a-4888-9040-90f5f65120f2" />
{post.featured_image?.url ? (
// eslint-disable-next-line @next/next/no-img-element
<img