That isn't what Dave meant. If your pages reference any static assets, such as images, stylesheets, js files etc, you can use httpStatic to serve those files without having to create flows for them.
To your actual question, we don't support partials in our template node, but you can easily achieve a similar effect by using multiple template nodes in series.
Create a template node that renders your complete page with placeholders in the places you want custom content. Then create a template node for each page that creates the custom content for that page. Then have a separate flow to each of the page templates, which all flow into the one complete page template and out to an Http response node.
Nick
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

<html>
<head>
<title>{{pageTitle}}</title>
... standard stuff like UI settings, CSS, JS files ...
--- maybe some dynamic metadata here ---
</head>
<body>
... standard page output such as a menu and the main page structure ...
--- main dynamic output here ---
... more standard output such as page footers, sidebars, etc. also late loading javascript files ...
--- maybe some more javascript specific to this page ---
... more standard javascript loading ...
</body>
</html>
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
