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

Add default JS resources #150

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add default JS resources #150

wants to merge 2 commits into from

Conversation

dnwhte
Copy link

@dnwhte dnwhte commented May 6, 2016

Loads default scripts for all snippets. One use case is needing to
load fonts through a service like Typekit where JS loading is the only
option. Needed for loading font in general section (under font and typography).
Note: quick and dirty solution. Could use refactoring.

Dan White added 2 commits May 6, 2016 10:27
Loads default scripts for all snippets. One use case is needing to
load fonts through a service like Typekit where JS loading is the only
option.
@yumyo
Copy link

yumyo commented Jun 9, 2016

Hi, thanks for this, really needed feature.
In the meanwhile, is there any way to manually achieve it? Typekit script keep being removed, no matter if I place it in the head or before the closing body of template.html

@dnwhte
Copy link
Author

dnwhte commented Jun 9, 2016

@yumyo Take a look at ecb9cf5 to see how I was able to do it. The changes are pretty simple to implement.

@yumyo
Copy link

yumyo commented Jun 10, 2016

Thanks, works smoothly

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