Express uses jade template. Can the address of src inside in inside be the suffix of. jade in iframe

  node.js, question

Express uses jade template. Can the address of src inside in inside be the suffix of. jade in iframe?
What should I do if I want to render dynamic html content to this src inside instead of giving him an address alone?

I guess you didn’t understand what I said last time,iframeThesrcWhat inside filled in was an accessible one.url, it does not matter whether it is on the server sidejadeTemplate engine.

Anyway, you are usingexpress, you will give this againurlWouldn’t it be nice to write a route?

//Suppose xxx/yyy here is the src filled in by iframe inside on your previous page
 app.get('/xxx/yyy', function (req, res) {
 //Because iframe inside visited this url himself and then came to the route here, the following data objects can of course be dynamic?
 res.render('index', { title: 'Hey', message: 'Hello there!'  });
 });

I suggest you understand firstiframeWhat the hell is going on, just asking “can iframe be dynamic” is probably hard for others to answer. Come on, let’s look at the documentsiframe