Skip to content

Commit 324ac97

Browse files
authored
feat: comprehensive SEO optimization (#66)
- Add title and description frontmatter to index.md (en + zh-cn) — fixes broken meta descriptions - Add hero section with heading, description, CTA button, and alt text on homepage - Add proper description frontmatter to all 40 English + 40 Chinese doc pages - Fix tagline from keyword-stuffed list to natural sentence - Add og:image, twitter:card, twitter:image meta tags - Add robots/index and googlebot/index meta tags - Add JSON-LD structured data (Book schema) via custom plugin - Add robots.txt in static/ with AI crawler allowances - Enable sitemap lastmod dates for better crawl scheduling - Add structured data plugin with bilingual Book schema support Build verified: npm run build succeeds for both en and zh-cn locales.
1 parent 648f442 commit 324ac97

84 files changed

Lines changed: 201 additions & 17 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/about-the-book.md

Lines changed: 1 addition & 0 deletions

docs/afterword.md

Lines changed: 1 addition & 0 deletions

docs/anonymous-functions.md

Lines changed: 1 addition & 0 deletions

docs/arithmetic-operation.md

Lines changed: 1 addition & 0 deletions

docs/basic-types.md

Lines changed: 1 addition & 0 deletions

docs/class-and-instance.md

Lines changed: 1 addition & 0 deletions

docs/comprehension-expressions.md

Lines changed: 1 addition & 0 deletions

docs/create-and-import-modules.md

Lines changed: 1 addition & 0 deletions

docs/create-and-import-packages.md

Lines changed: 1 addition & 0 deletions

docs/custom-exception-classes.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)