Pages
Restaurant Articles
The /restaurants/:slug/articles route — lists editorial articles related to the individual restaurant.
Restaurant Articles
The /restaurants/:slug/articles child page lists editorial articles that are tagged to or related to this specific restaurant. Articles are sourced from Nuxt Content v3 markdown files and queried by the restaurant slug.
Route
/restaurants/:slug/articles
Components Used
Article cards are rendered using shared marketing components inherited from the nuxt-x-marketing layer extension. No XRD-prefixed component is specific to this child page.
Data Fetching
Articles are queried from Nuxt Content v3 using queryCollection (or equivalent) filtered by the restaurant slug. This is an independent content query — data is not injected from the parent layout.
AI Context
route: /restaurants/:slug/articles
package: "@xenterprises/nuxt-x-restaurants"
use-when: >
Rendering the articles tab on a restaurant profile. Content is sourced
from Nuxt Content v3 markdown files filtered by the restaurant slug,
independent of the parent layout's API data.
