Inserting Accordion code into a Jekyll page does not work

based on:

I think it is because you are loading jquery in the head and also in the footer and it is getting confused.

If you look at the Chrome Inspector console you are getting the same error that the SO question is about.