Skip to content

docs: redesign the Pages site and add search and AI metadata - #16

Merged
Schero94 merged 2 commits into
mainfrom
docs/pages-design-seo
Nov 19, 2026
Merged

Schero94 merged 2 commits into
mainfrom
docs/pages-design-seo

Conversation

@Schero94

Copy link
Copy Markdown
Owner

What changes

The Magic Mark docs site moves to the shared theme that all eight Schero94 plugin sites use (first one: Schero94/Magic-Mail#31) and gets search and AI metadata. Content and screenshots stay; facts were checked against the README and package.json.

Design (shared site.css + site.js, byte-identical across the plugin sites)

  • Spacing and type scale, 68ch line length, 17 px body text.
  • Light and dark colours from tokens, AA contrast, visible focus, reduced motion.
  • Flat hero with the list-view screenshot next to the headline, breadcrumb, copy buttons on the install line and code blocks, the FAQ as collapsible questions, three-column footer with hub links.
  • site-extra.css keeps only the pink accent from the plugin icon, the three "How it works" cards and the phone screenshot tile.

Search and AI

  • Unique title, 150-character description, robots meta, Twitter tags, preload of the hero image.
  • New img/og.jpg (1200x630), cropped from the existing list-view screenshot, and img/list-view-bookmarks.webp for the hero (53 KB instead of 136 KB, same picture; the PNG stays because the README uses it).
  • JSON-LD @graph: SoftwareApplication (MIT, price 0, npm download URL, repository, author), BreadcrumbList (Schero94 > Plugins > Magic Mark) and FAQPage built from the six questions shown on the page.
  • New llms.txt (llmstxt.org layout), robots.txt (allows Googlebot, Google-Extended, GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot) and sitemap.xml.
  • A one-sentence definition in the hero and a "Use it when / Skip it when / Requirements" block (Strapi floor 5.57.0, Node.js ^22.22.2 || >=24.15.0, bookmarks open on page 1).
  • Hub and docs link to each other; each page keeps its own canonical.

No hardcoded version. The page names no package version, so nothing goes stale after a release.

Checks

  • npm test: 122 pass, 0 fail. npx eslint . clean, npx prettier --check . clean.
  • Workbench scripts/check-plugin-pages.mjs (copy run against this clone): Magicmark: valid.
  • Playwright on a local server: zero horizontal overflow at 320, 390, 768, 1024 and 1440 px in light and dark, one h1, no broken anchors or duplicate ids, JSON-LD parses, first Tab reaches the skip link, reduced motion turns off smooth scrolling, no console errors.
  • Lighthouse 13.6 mobile, local: performance 100, accessibility 100, best practices 100, SEO 100 (live site before: 100 / 100 / 100 / 100).

Commit type docs:, so semantic-release publishes nothing.

🤖 Generated with Claude Code

Schero94 and others added 2 commits November 20, 2026 00:04
Move the site to the shared docs theme (site.css, site.js) used by every
Schero94 plugin site: spacing and type scale, readable line length, light
and dark colours with AA contrast, the list-view screenshot inside the
hero, a copy button on the install line and code blocks, the FAQ as
collapsible questions and a footer with links to the plugin hub.
site-extra.css keeps only the pink accent from the plugin icon, the three
"How it works" cards and the phone screenshot tile.

Search and AI:
- shorter description (150 characters), robots meta, a 1200x630 og.jpg
  and a WebP copy of the hero screenshot (53 KB instead of 136 KB, same
  picture; the PNG stays for the README), preload of the hero image,
  breadcrumb (Schero94 > Plugins > Magic Mark)
- JSON-LD graph: SoftwareApplication, BreadcrumbList and a FAQPage built
  from the six questions on the page
- llms.txt (llmstxt.org layout), robots.txt (allows Googlebot,
  Google-Extended, GPTBot, ClaudeBot, PerplexityBot) and sitemap.xml
- definition sentence in the hero and a "use it / skip it /
  requirements" block, checked against the README and package.json

The page names no package version, so nothing goes stale after a release.

Docs read 2026-11-19: llmstxt.org (file layout), Google Search Central
"Software app structured data", schema.org FAQPage and BreadcrumbList.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fold the fixes found while rolling the theme out to all plugin sites into
the shared site.css: the install line in the hero no longer shows a code
box inside its box and its Copy button stays on one line, step lists use
the full content width, a <picture> in a screenshot is a block, and code
in table cells breaks anywhere only on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Schero94
Schero94 merged commit 633a039 into main Nov 19, 2026
6 checks passed
@Schero94
Schero94 deleted the docs/pages-design-seo branch November 19, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant