You can have jade include a plain HTML page:
in views/index.jade
include plain.html
in views/plain.html
<!DOCTYPE html>
...
and app.js can still just render jade:
res.render(index)
More Related Contents:
- How to properly reuse connection to Mongodb across NodeJs application and modules
- How to search in array of object in mongodb
- How do I remove documents using Node.js Mongoose?
- UnhandledPromiseRejectionWarning: MongooseServerSelectionError
- MongoDB select where in array of _id?
- How to get updated document back from the findOneAndUpdate method?
- Can I determine if a string is a MongoDB ObjectID?
- Handlebars: Access has been denied to resolve the property “from” because it is not an “own property” of its parent
- How to Protect website code PHP / JS? [closed]
- Download a file from NodeJS Server using Express
- Mongoose and multiple database in single node.js project
- MongoDB, remove object from array
- Using Multiple Mongodb Databases with Meteor.js
- Mongoose find/update subdocument
- Passing variables to the next middleware using next() in Express.js
- How do I ungzip (decompress) a NodeJS request’s module gzip response body?
- batchSize field name ignored in Field Projection
- socket.io.js not found
- Handling errors in express async middleware
- Bulk upsert in MongoDB using mongoose
- Difference between readFile() and readFileSync()
- What are express.json() and express.urlencoded()?
- Read json file content with require vs fs.readFile
- Node.js POST causes [Error: socket hang up] code: ‘ECONNRESET’
- How to set _id to db document in Mongoose?
- Mongoose Not Creating Indexes
- Get elements from page.evaluate in Puppeteer? [duplicate]
- Cannot connect to MongoDB because of wrong URI
- node.js, express, how to get data from body form-data in post request
- Sending whole folder content to client with express