-
Notifications
You must be signed in to change notification settings - Fork 194
BUG: What is the matter with add-on.js and add-on.css? #87
Comments
I just noticed the files exist in the exampleSite and quickly put a PR together. I was not expecting you to answer so quickly :D |
If you are already working on it you can just dump my PR. |
If I remember correct from the last time I looked at it, the browser really doesn't like that the files are empty with a comment at the top. |
@twatzl In fact, this section in the site config has existed for long. hugo-future-imperfect-slim/exampleSite/config.toml Lines 15 to 20 in b055367
I've altered greatly the structures of both partial templates at commits 72629f7, 09155a6 and b055367, in response to @pacollins' request to get our Staticman JS script bundled with other JS scripts. I appreciate your effort in making #88. Even though your
Before I clicked "Commnt", @pacollins had commented, so would you mind editing the Wiki with the above quoted sentence? In this way, you'll get proper credit for the text that you've written. Remarks: Looking back, I'm sorry for having complicated the commit history by 6449077, which would have been avoided if I had merged recent changes on the upstream |
Hey. Sorry for not responding for such a long time. I was quite busy at work and only had time this weekend to work on my blog again. What is the status? what needs to be done? Just the wiki entry? |
Nvm. We too.
#66, which deals with the add-on stuff, turns out to be more complicated than I've expected—I didn't know that the CSS load order matters. It seems that I've to take some courses about web development—some recommended Udemy, I'm thinking about 3W Academy.
The content of https://github.com/pacollins/hugo-future-imperfect-slim/pull/88/files#diff-04c6e90faac2675aa89e2176d2eec7d8 can go to the Wiki's config.toml page section |
Fixed with #66 |
Hello,
I was looking for the source of the issues why my browser was complaining that
add-on.css
andadd-on.js
have a MIME type mismatch. I read that this occurs when the file does not exist. And indeed those two files do not exist. However the documentation still lists them and they are also referred to inpartials/scripts.html
andpartials/head.html
.So what is the matter with those files. Are the references forgotten references and should be removed or am I missing something?
I get the errors on the hugo live server as well as on my production system.
The text was updated successfully, but these errors were encountered: