Closed NicMcPhee closed 4 years ago
Just to clarify, this is happening when you run the server locally? If so, I suspect this probably needs to be updated.
Sorry for being slow to get back to you.
Yes, it was indeed when I was running the server locally, and I do seem to remember that there were some weird things with slashes, so your suspicion seems plausible to me.
Thanks for confirming. I'll try to fix it this week :)
Sorry I dropped the ball on this @NicMcPhee. I couldn't actually reproduce the problem... If this is still an issue for you could you provide more details?
Oh wait, I can reproduce it 😄 I didn't get an error about missing resources and had stuff cached so was confused. Working on a fix now.
Should be fixed in the latest version of the template. I just checked if the link ends in /
or .html
before doing the magic with the slashes. It's not perfect and there may be another weird case in the future but I'm hoping this covers the majority of cases.
I switched the value of
:public-dest
frompublic
todocs
and the contents ofdocs/css
anddocs/js
have now become invisible. I'm using the "blue" theme, andscreen.css
doesn't load anymore. Ditto forhighlight.pack.js
. The files are there indocs/css
anddocs/js
, but they're not found by the browser.Any idea why that's happening?
Thanks in advance.