using jQuery with Jekyll site hosted on Github pages

Mat Benfield

I have a simpled Jekyll blog hosted on github pages and I have included jQuery and a tablesorter plugin but come across error and to all my knowledge this error is caused by not having jQuery loaded in the correct order. my image below shows the code is in the right order.. so my question is simply is it being stopped by Github itself somehow?

and if so how?

my code of include scripts

edit: for completion/clarity here is the exact code:

<script type="text/javascript" src="/js/jquery.min.js" ></script>

<script type="text/javscript" src="/js/jquery.tablesorter.min.js" ></script>  

<script type="text/javascript">$(document).ready(function() { 
 if(jQuery("table.tablesorter").length > 0)
   {  
    $.tablesorter.defaults.widgets = ['zebra']; }
   }
 );
Mat Benfield

turns out it's not a jekyll or github issue having copied files to my own server. it seems to be an issue with my plugins and jQuery 2.0.0, going back to 1.9.0 works.

ugh

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Rendering a GitHub wiki on a GitHub Pages Jekyll site

From Dev

Locally building and pushing jekyll site to github pages

From Dev

Jekyll and GitHub Pages Site Not Displaying Favicon

From Dev

running jekyll locally on a github pages site project

From Dev

Using Github pages with Jekyll in a subdirectory

From Dev

Using Github pages with Jekyll in a subdirectory

From Dev

Set up custom subdomain for Jekyll Blog hosted in Github Pages

From Dev

Unable to set favicon using Jekyll and github pages

From Dev

Why does my Jekyll site show HUGE icons on Github Pages

From Dev

Understanding Jekyll and the gh-pages branch when using GitHub Pages

From Dev

I use jquery in github pages which use jekyll to generate website

From Dev

Can I access metadata from a third-party GitHub repo from a Jekyll site on github-pages?

From Dev

Github Pages: How to access github project page when root site is jekyll

From Dev

Using common Jekyll code for multiple github pages websites

From Dev

Jekyll on Github Pages not rendering CSS

From Dev

Animation on jekyll run github pages

From Dev

Github pages/Jekyll Coldfusion redirect

From Dev

Github Pages Jekyll posts not updating

From Dev

jekyll website not updating on github pages

From Dev

Animation on jekyll run github pages

From Dev

Jekyll: liquid tags shown when hosted on GitHub

From Dev

Error when deploying Lektor site to Github Pages using Travis CI

From Dev

Pictures not showing up in site hosted by GitHub

From Dev

Github pages site size limits?

From Dev

GitHub Pages redirects to a different site

From Dev

Sub-pages on a GitHub pages site

From Dev

GitHub Pages: Changing User site to a Project site

From Dev

GitHub Pages: Changing User site to a Project site

From Dev

Jekyll on Github Pages applying css styles inconsistently

Related Related

  1. 1

    Rendering a GitHub wiki on a GitHub Pages Jekyll site

  2. 2

    Locally building and pushing jekyll site to github pages

  3. 3

    Jekyll and GitHub Pages Site Not Displaying Favicon

  4. 4

    running jekyll locally on a github pages site project

  5. 5

    Using Github pages with Jekyll in a subdirectory

  6. 6

    Using Github pages with Jekyll in a subdirectory

  7. 7

    Set up custom subdomain for Jekyll Blog hosted in Github Pages

  8. 8

    Unable to set favicon using Jekyll and github pages

  9. 9

    Why does my Jekyll site show HUGE icons on Github Pages

  10. 10

    Understanding Jekyll and the gh-pages branch when using GitHub Pages

  11. 11

    I use jquery in github pages which use jekyll to generate website

  12. 12

    Can I access metadata from a third-party GitHub repo from a Jekyll site on github-pages?

  13. 13

    Github Pages: How to access github project page when root site is jekyll

  14. 14

    Using common Jekyll code for multiple github pages websites

  15. 15

    Jekyll on Github Pages not rendering CSS

  16. 16

    Animation on jekyll run github pages

  17. 17

    Github pages/Jekyll Coldfusion redirect

  18. 18

    Github Pages Jekyll posts not updating

  19. 19

    jekyll website not updating on github pages

  20. 20

    Animation on jekyll run github pages

  21. 21

    Jekyll: liquid tags shown when hosted on GitHub

  22. 22

    Error when deploying Lektor site to Github Pages using Travis CI

  23. 23

    Pictures not showing up in site hosted by GitHub

  24. 24

    Github pages site size limits?

  25. 25

    GitHub Pages redirects to a different site

  26. 26

    Sub-pages on a GitHub pages site

  27. 27

    GitHub Pages: Changing User site to a Project site

  28. 28

    GitHub Pages: Changing User site to a Project site

  29. 29

    Jekyll on Github Pages applying css styles inconsistently

HotTag

Archive