{"version":"1.0","type":"rich","title":"access jade for multiple files","description":"This example demonstrates a dynamic server-side route that renders Jade template files based on URL parameters. It uses Express’s `app.get` method with a `:fileName` parameter, and Node.js’s `fs.existsSync` to check whether a corresponding `.jade` file exists in the `views` directory. If the file is present, it calls `res.render` to serve the template; otherwise, it passes control to the next middleware via `next()`. The code shows a file-system-driven routing pattern, where the request path directly maps to template filenames.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-afb79ed6e0c3f369839d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}