mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-11-16 14:45:02 -06:00
[PR #363] [MERGED] feat(www): SEO overhaul with sitemap, metadata, interlinking, and five new articles #7932
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/363
Author: @arunavo4
Created: 8/20/2026
Status: ✅ Merged
Merged: 8/20/2026
Merged by: @arunavo4
Base:
main← Head:feat/www-seo📝 Commits (2)
2a20e9dfeat(www): generated sitemap, article metadata, and de-orphaned comparison pagec1aaccbfeat(www): five new articles and an interlinking pass📊 Changes
27 files changed (+610 additions, -63 deletions)
View changed files
📝
www/astro.config.mjs(+4 -1)📝
www/package.json(+1 -0)📝
www/pnpm-lock.yaml(+71 -32)📝
www/public/robots.txt(+1 -5)➖
www/public/sitemap.xml(+0 -9)📝
www/src/components/Footer.astro(+10 -4)📝
www/src/components/Header.tsx(+1 -0)📝
www/src/components/UseCases.astro(+8 -1)📝
www/src/layouts/DocsLayout.astro(+15 -0)📝
www/src/layouts/UseCaseIndexLayout.astro(+7 -1)📝
www/src/layouts/UseCaseLayout.astro(+23 -1)📝
www/src/lib/use-cases.ts(+40 -0)📝
www/src/pages/comparison/github-backup-tools.mdx(+3 -1)📝
www/src/pages/docs/quickstart.mdx(+1 -0)📝
www/src/pages/use-cases/backup-github-repositories.mdx(+8 -1)📝
www/src/pages/use-cases/deploy-with-helm-chart.mdx(+5 -0)➕
www/src/pages/use-cases/github-api-rate-limits.mdx(+62 -0)📝
www/src/pages/use-cases/github-backup-automation.mdx(+7 -1)➕
www/src/pages/use-cases/migrate-github-to-gitea.mdx(+93 -0)➕
www/src/pages/use-cases/mirror-git-lfs-repositories.mdx(+66 -0)...and 7 more files
📄 Description
SEO overhaul for the marketing site, from the full-site review.
Structural fixes
public/sitemap.xmllisted one URL (the homepage, dated January 2025).@astrojs/sitemapnow generates it on every build: 27 URLs.siteis set inastro.config.mjsandrobots.txtpoints at the generated index./comparison/github-backup-tools/had zero inbound links. It is now in the header nav ("Compare"), the footer, and the homepage use-cases section, so every page links to it.UseCaseLayoutandUseCaseIndexLayoutstopped at title/description/canonical, so shares rendered no card. Both now match the DocsLayout pattern, plus minimalTechArticleJSON-LD on article layouts./docs/(canonical since #354) instead of the GitHub tree.Five new articles
Each grounded in shipped behavior rather than generic content:
New entries are appended after the existing ones so the homepage's featured three are unchanged.
Interlinking pass
Articles previously carried 0 to 4 internal links each and the docs never linked to use-cases. Now every article has 4 to 9 contextual links plus a short related-guides section, the comparison page's next steps cover the new guides, and the docs quickstart bridges into the use-case section. A build-time check resolves all 440 internal links against built pages: 0 broken.
Verification
pnpm buildpasses, 27 pages. Sitemap, canonicals, and nav links agree on trailing-slash style. No changes outsidewww/.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.