hydecorp / hydejack

A boutique Jekyll theme for hackers, nerds, and academics
https://hydejack.com
Other
1.39k stars 792 forks source link

gist, javascript and no_push_state #325

Open casaucao opened 1 year ago

casaucao commented 1 year ago

I want to add a gist to a post. The documentation indicates that it is enough to add the following JavaScript code:

<script src="https://gist.github.com/gdb/b6365e79be6052e7531e7ba6ea8caf23.js"></script>

But nothing is displayed. In Chrome Inspector, it can be seen that there are no requests being made to fetch the gist.

I can make it work if I configure the _config.yml as follows:

no_push_state: true

By doing this, it works, but other things start to fail. For example, post selection animations are not launched, and the cover does not slide when clicking on a sidebar element.

Is there any solution for this?