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

Fix htmlwidgets #9

Merged
merged 7 commits into from
Sep 4, 2019
Merged

Conversation

apreshill
Copy link
Contributor

@apreshill apreshill commented Sep 4, 2019

Fixes issue #1. Tried to do it step-by-step, following Yihui's advice for adding a disable_jquery YAML key in each post's page params. Also added to a custom archetype, so when you use the new post add-in it will show up (defaults to false).

I basically copied/pasted the original theme partial site_js layout first, then added a simple {{ if not .Params.disable_jquery}}...{{ end }} wrapped around the call to jquery.

Screen Shot 2019-09-04 at 6 45 54 AM

@dcossyleon dcossyleon merged commit 4f0009e into dcossyleon:master Sep 4, 2019
@dcossyleon
Copy link
Owner

Thank you so much!

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

Successfully merging this pull request may close these issues.

2 participants