Last active
November 12, 2017 02:28
-
-
Save manbearwolf/604cc6580702cb38db8086916c12928c to your computer and use it in GitHub Desktop.
font fix for scssify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<style> | |
{% capture inlineCSS %} | |
{% include main.scss %} | |
{% endcapture %} | |
{{ inlineCSS | scssify }} | |
</style> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'fontawesome'; | |
src: url('/fonts/fontawesome.eot?w1gi2x'); | |
src: url('/fonts/fontawesome.eot?w1gi2x#iefix') format('embedded-opentype'), | |
url('/fonts/fontawesome.ttf?w1gi2x') format('truetype'), | |
url('/fonts/fontawesome.woff?w1gi2x') format('woff'), | |
url('/fonts/fontawesome.svg?w1gi2x#fontawesome') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
<style type="text/css">
{% capture include_to_scssify %}
{% include main.scss %}
{% endcapture %}
{{ include_to_scssify | scssify | strip_newlines }}
</style>
<style type="text/css">
{% capture inlineCSS %}
{% include app.scss %}
{% endcapture %}
{{ inlineCSS | scssify }}
</style>
<style type="text/css">
{% capture include_to_scssify %}
{% include style.scss %}
{% endcapture %}
{{ include_to_scssify | scssify }}
</style>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
take out front matter in main.scss...
includes folder...