Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

144
Views
Running script on github page using jekyll

I have a problem having my origin version running a script I have in the index.html file.

The script runs fine locally if I have this in the index.html file:

<script  src="{{ base.url | prepend: site.url }}/assets/js/script.js"></script>

If I have that previous code and I try to run on github, I get this:

wrong github address

(Wrong github address)

If I change the code in the index file to this:

<script  src="{{ site.github.repository_url }}/tree/gh-pages/assets/js/script.js"></script>

Then the error is gone but the script still doesn't run and I get this:

Cross-Origin Read Blocking (CORB) blocked cross-origin response https://github.com/montythepython/mixedmessages/blob/gh-pages/assets/js/script.js with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

right github address? but with an added "blob"

(Right github address? But with an added "blob")

Which I am not sure what it means. Is it reading the script as a text file and because of it the script doesn't actually run?

Any help, very much appreciated The project is here: https://github.com/montythepython/mixedmessages

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!