Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gist, javascript and no_push_state #325

Open
casaucao opened this issue Jul 31, 2023 · 0 comments
Open

gist, javascript and no_push_state #325

casaucao opened this issue Jul 31, 2023 · 0 comments

Comments

@casaucao
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant