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

[SPRESS] Make sure SVGs can be included #67

Merged
merged 2 commits into from
Mar 8, 2017

Conversation

patrickfweston
Copy link
Contributor

@patrickfweston patrickfweston commented Mar 7, 2017

Issue: #65

As outlined, if one tries to include an SVG in one's Twig file, nothing is printed. This pull request adds SVGs to the text_extensions variable to ensure they can be included.

To test:
The quickest, easiest way to test this is to update you config.yml file to reflect the changes as made by this PR.

Alternatively, you can update you styleguide/package.json file and change (around line 15) the Butler dependency to point to the following hash: 207ef881d0aff81b6ce2935bbd3258055eb51e5b. Then, you'll have to npm install again per the README's instructions for Butler

Either way, once you get the changes:

  • Try to include an SVG for use in a Twig template. It should be printed.
  • Update a Twig template. It should trigger a Spress rebuild.

@MichellanneLi
Copy link
Contributor

Hi @patrickfweston ! How would you recommend I test this update?

Thanks!

@patrickfweston
Copy link
Contributor Author

@MichellanneLi : Great call. I forgot to include testing instructions. They're up now!

@MichellanneLi
Copy link
Contributor

@patrickfweston works great! Thanks so much for your work on butler.

@MichellanneLi MichellanneLi merged commit fdb1d8d into spress-task Mar 8, 2017
@labbydev labbydev deleted the spress-task-svgs branch March 10, 2017 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants