Closed SntTGR closed 3 years ago
Hi!
I see an error on your site: Failed to find a valid digest in the 'integrity' attribute for resource ...
. Seems like the file changed during deploy/git operations because sha256 sum is not matched. And this is most likely due to line endings.
If you are working on Windows, I think we correctly identified the problem.
Check this guide to configure git https://docs.github.com/en/github/using-git/configuring-git-to-handle-line-endings
Then rebuild site, push it and let me know if it works or not.
P.S. Checked Github Pages on my site and it works https://mitrichius.github.io/
Yes! that's it!
Added a .gitattributes file in the built repo to prevent this in the future. (although not sure if it's the best approach)
* text=auto
#don't convert css files, leads to checksum failure
*.css binary
thank you!
Hello! I really like this theme but had some problems trying to set it up online
Im using a quickstart page with only one post and deploying with this theme doesn't show the styling (at least in github pages) Using the local
hugo server
works fine. I also tried using another theme 'ananke' and it shows styling.https://snttgr.github.io SntTGR/SntTGR.github.io@2c0814e9604deb6f51632e4e429fc8e96bb1a04b links work! no 404s
Made sure to put the correct url in
baseUrl:
and inspected the page to make sure the stylesheet correctly referenced the css file, but somehow the styling doesn't work.Im using the example config .yaml with a few thing commented-out