0

index.html has,

<html>
  <body>
    Main layout
    <link rel="import" href="a.html" />
  </body>
</html>

a.html has,

inner content!!!

When i open these pages using node-static, i see output as,

Main Layout

But i like to have,

Main Layout
inner content!!!

In summary, how to break my html file into seperate blocks & add/remove them on the fly??

0 Answers0