moonming opened a new pull request, #2071:
URL: https://github.com/apache/apisix-website/pull/2071

   ## Problem
   
   The Learning Center index has 23,450 impressions with only 0.33% CTR in GSC 
(last 28 days). One reason: it renders the site-wide default meta description 
(the generic APISIX tagline) instead of describing what the Learning Center 
actually offers.
   
   Root cause: blog **list** pages pass `description` through Layout props, 
which `LayoutHead` renders early — and the trailing `themeConfig.metadatas` 
block deliberately overrides it (react-helmet last-wins). So setting 
`blogDescription` alone has no effect.
   
   ## Fix
   
   - Add `blogDescription` to the `learning-center` blog instance.
   - Add a `BlogListPage` wrapper (same `@theme-original` pattern as the 
existing `BlogPostPage` wrapper from #2058) that re-emits `description` / 
`og:description` at content level — after `LayoutHead` in the tree — where 
react-helmet lets it win.
   - Scoped to `/learning-center/`: articles and events list pages are 
untouched.
   
   ## Verification (production build)
   
   - `/learning-center/` now carries the new description, exactly one `meta 
name=description` + one `og:description`.
   - Homepage, `/articles/`, and individual Learning Center articles keep their 
existing descriptions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to