DEV Community

[Comment from a deleted post]
Collapse
 
mikepiper profile image
MikePiper

Thank you, David.

With regard to "each index.html" I meant the ones that are created by the prerender.ts script. That is, the way that Angular Universal has worked for me is that it creates separate index.html files for each prerendered url. For instance I have dist/browser/about/index.html -- and that file contains the html that would be seen by Google for instance.

But the index.html files that are made in this case simply have an empty div (with markdown="" ) where the pulled-in markdown content should be. So Google wouldn't actually see the content in question.

In any event, thank you for pointing me toward the fs option. I will look into that!

 
daviddalbusco profile image
David Dal Busco

Oh cool super interesting, back then I wasn't able to get Prerendering up-and-running that's why I ended up using SSR. Really cool to hear it work out (if we omit the bug related to the blog).

I hope fs will solve the issue, would be interested to hear you voice once you solve the issue, keep me posted!