Hello,
I’m successfully rendering a static HTML file from “_includes” folder.
However this HTML file also relies on CSS and JS.
I’ve copied all files that the static HTML file relies on, into the “_includes” folder, however they’re not rendered because they’re 404.
It’s as if only the HTML is picked up from the “_includes”.
Is there a way to have the full HTML rendered (with its CSS and JS)?
Thanks, Sam
rdyar
2
sounds like you have a complex include? why not just have the css in the normal css file? and whatever else in the normal assets folder?
When you use an include all you get is that file - it isn’t going to bring along other files from the includes folder.
Thanks, unfortunately the pre built HTML had an underscore in its path, so wasn’t moved to _site directory from docs (my site source).
I did a bit of a hack with a workflow copying into _site.
Thanks for your help.
Sam