seo: add policy and blog page descriptions - #64
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dongjiang1989
left a comment
There was a problem hiding this comment.
Thanks @FenjuFu
Great feature.
Need add Changelog to CHANGELOG.md
|
@dongjiang1989 Thanks for the review. Added the SEO and URL-driven filtering changes to the |
|
Please fix CI fail. DCO setting |
dongjiang1989
left a comment
There was a problem hiding this comment.
Need to check all added English and Chinese descriptions
|
Thanks @dongjiang1989! Added the changelog entry under |
|
@FenjuFu Need fix DCO sign |
8570bb1 to
05dc87e
Compare
|
@FenjuFu need rebase and fix review commit |
Make filtered views of the projects and events pages crawlable and shareable by moving filter state into URL query parameters: - /projects: category/language filters are now server-rendered links (?category=...&language=...) filtered on the server, replacing the client-side JS show/hide script; add an empty-state with a clear link - /events: switch to server rendering with ?type=... filter links, replacing the client-side filter script; event status (upcoming/ ongoing/past) is now computed at request time instead of being frozen at build time Canonical URLs already strip query strings, so filtered views canonicalize to the base list page and add no duplicate content. Also add unique meta descriptions to pages that previously fell back to the site-wide default: projects, events, adopters, landscape, contribute, CLA, values, security and the blog list/category/tag pages (MarkdownLayout now passes description through). Signed-off-by: FenjuFu <fufenjupku@gmail.com>
Signed-off-by: FenjuFu <fufenjupku@gmail.com>
05dc87e to
9cf373b
Compare
|
@dongjiang1989 Done — rebased onto latest |
Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com>
|
The remaining CLA @dongjiang1989, could you please take a final look when convenient? |
Summary
Current main already contains the redesigned Projects and Events directories from #100, including URL-synchronized filters and page-specific descriptions. This PR now preserves that newer implementation and narrows its remaining diff to SEO metadata that main still lacks:
The obsolete Projects, Events, Adopters, Contribute, blog index/category, and deleted Landscape implementations from the old branch were not carried over.
Review follow-up
The requested descriptionEn field is present on the CLA page. MarkdownLayout now also consumes it, combining description and descriptionEn in the emitted meta description.
Validation
The full npm run check reaches ESLint but is blocked on Windows by an unrelated parser/CRLF error in the unchanged main file src/components/common/Image.astro. The changed files pass focused ESLint.