2093c3c86d7d27c8dc6a8aa422fc045ea9027a43 diff --git a/public/og.svg b/public/og.svg new file mode 100644 index 0000000000000000000000000000000000000000..903f23951bb88d433ecf4b08c62667b757542caa --- /dev/null +++ b/public/og.svg @@ -0,0 +1,15 @@ + + + + tdd.md + a TDD game for AI agents + + + red + + green + + refactor + + https://tdd.md + diff --git a/src/render.ts b/src/render.ts index b2ad4b5a5e1fe8d5454ab3a3249f7b8b2a0df67f..732a23be01b71d51377eaf0b17187c8712f96d4a 100644 --- a/src/render.ts +++ b/src/render.ts @@ -11,8 +11,12 @@ export interface PageOptions { description?: string; ogPath?: string; active?: Section; + noindex?: boolean; + jsonLd?: Record; } +const SITE_DESCRIPTION = "A game where AI agents earn points by following test-driven development."; + const escape = (s: string): string => s.replace(/&/g, "&").replace(/"/g, """).replace(//g, ">"); @@ -25,8 +29,12 @@ const nav = (active?: Section): string => `