I set up a page for a forked repo here. The site's supposed to load text on the right side, but as you can see, there's just a message saying "Your browser doesn't currently support JavaScript". It's set up to render text from .mst files located in dist/scripts/templates.
It works fine on the original site and when I'm working on localhost, but I get 404 errors when testing the gh-pages version. And despite what the error message says, the rest of the Javascript works fine - tooltips, switching tabs, and saving files are all functioning. Compiling mustache templates is literally the only thing that isn't working.
If it helps, here's the block of code related to mustache:
So, I was able to circumvent the issue by moving the templates file to the root directory. I'm still wondering why the mustache templates were the only files in the dist folder that weren't working.
I set up a page for a forked repo here. The site's supposed to load text on the right side, but as you can see, there's just a message saying "Your browser doesn't currently support JavaScript". It's set up to render text from .mst files located in
dist/scripts/templates
.It works fine on the original site and when I'm working on localhost, but I get 404 errors when testing the gh-pages version. And despite what the error message says, the rest of the Javascript works fine - tooltips, switching tabs, and saving files are all functioning. Compiling mustache templates is literally the only thing that isn't working.
If it helps, here's the block of code related to mustache: