Comments (4)
Thank you so much Mark, I can't believe how quickly you've fixed that up. I just merged your PR and fixed up the baseURL
and everything is deployed already! Enjoy your coffees :)
from hinode.
Hi Mark, I'm trying to use your theme on a blog deployed on netlify, but none of the styles are loading. Checking the console log, there seems to be an issue with content security policy for script-src but I can't see any more detail than just Content Security Policy: The page's settings blocked the loading of a resource at inline ("script-src").
My blog is www.barefootbushwalk.blog and the repo is at https://github.com/momargoh/barefootbushwalk . Are you able to help me out with this because I think your theme looks great and would love to be able to use it!
from hinode.
Hi Momar, great to hear you like the theme! I was able to recreate the problem and to provide a solution. I submitted two additional bug reports (#105 and #106) too. I created a fork of your repo here. These are my observations and recommendations:
- I reverted back to the original
netlify.toml
file, as your configuration seemed to have different indentation. I'm not sure how stricttoml
processing is, but I changed back to the original indentation anyways. - I added the required CSP items for
script-src
,frame-src
, andimg-src
, some of them were not in sync with yourserver.toml
(which contains the CSP configuration for local development). - I added the command
npm run prod
to thepackage.json
file to start a local production server to reproduce the CSS errors. - I added a new file
layouts/partials/head/stylesheet.html
to provide a fix for the incorrect CSS purge in production. - The site has been deployed to Netlify on bush.markdumay.org.
I'll submit a PR to your repo so you can integrate the fixes with your own repo if you wish. Be sure to change back the baseURL
though, as I updated this to bush.markdumay.org
for testing with Netlify.
from hinode.
Fixed with #109
from hinode.
Related Issues (20)
- [BUG] Fix menu icons HOT 1
- [BUG] Error while running pristine site with hugo v0.123.8 HOT 2
- Add layouts for author pages
- [BUG] Break optional scripts HOT 3
- [BUG] `includeToc: true` does not include a ToC
- [BUG] proper format for the search bar HOT 3
- [BUG] Fix Google Analytics configuration
- [BUG] Automated test not compatible with GHA macOS 14
- npm dependencies conflict in template HOT 9
- Pagination works only in the homepage [BUG] HOT 7
- How I can import the exampleSite content to a clean Hinode installation?
- Add support for native Bootstrap forms
- Make module configurations loosely coupled HOT 3
- [BUG] Support deployment to folder HOT 8
- [BUG] menu items links in navigation bar are incorrect HOT 2
- [BUG] Reduce screen flickering in color mode
- [BUG] Sidebar menu does not support multiple languages HOT 1
- [BUG] Sidebar does not support links to external pages
- [BUG] "Last updated" string is not localized with i18n HOT 2
- Save and get the selected language just as the theme switch HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hinode.