Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1
Jekyll include_sass tag which includes and converts SASS/SCSS file. Useful for Google AMP HTML!
License
toshimaru/jekyll-include_sass
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Jekyllinclude_sass
tag which includes and converts SASS/SCSS file. This is useful for Google AMP HTML.
Like all web pages, AMP pages are styled with CSS, but you can’t reference external stylesheets.
All styles must live in the head of the document.
via.Supported CSS
- Add the following to your site's
Gemfile
:
gem'jekyll-include_sass'
- Add the following to your site's
_config.yml
:
gems: -jekyll-include_sass
Put yourstyle.scss
in Jekyll's_includes
directory.
Add the following inside<head>
in your site's template(s):
<styletype="text/css">{% include_sass style.scss %}</style>
<styleamp-custom>{% include_sass style.scss %}</style>
You can include either SASS or SCSS withinclude_sass
depending on extension.
Bug reports and pull requests are welcome on GitHub athttps://github.com/toshimaru/jekyll-include_sass.
The gem is available as open source under the terms of theMIT License.
About
Jekyll include_sass tag which includes and converts SASS/SCSS file. Useful for Google AMP HTML!
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.