Octopress and jQuery
It's always the little things that take hours to figure out.
In the process of theming Axiomatic Semantics, I came across a virtually undocumented (in the Octopress sphere) caveat when including jQuery elements. A number of javascript functions in the Octopress source use $
as a variable. This is not uncommon; although jQuery
aliases to $
- which causes some confusion in the processing of Octopress’ functions. My issue was the GitHub aside constantly being stuck at the Status Updating… phase. To overcome this issue, the simplest method is to insert the jQuery include in after_footer.html
, but if you need the call before then for whatever reason and want it in head.html
; you’re gonna have a bad time.