janczizikow / sleek

:chart_with_upwards_trend: Sleek is a modern Jekyll theme focused on speed performance & SEO best practices
https://janczizikow.github.io/sleek/
MIT License
422 stars 635 forks source link

Help getting script to run #60

Closed conorbarryhoke closed 4 years ago

conorbarryhoke commented 5 years ago

Hello,

Absolutely gorgeous setup - I've been using this with a lot of success for my github.io page.

I'd like to add a some jquery .get script to one of the posts that will update some text on the post, but apparently there are some issues allowing cross origin requests for jquery.getJSON. Is there a way to cofigure this to be allowed?

janczizikow commented 5 years ago

Hey,

Not sure. Most likely your site isn't allowed to get the data from the server. You should check the server setup / API documentation from where you want to fetch the data