Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Liquid Exception: Unknown tag 'stylesheet' in ./_layouts/base.html #21

Open
ericpeters0n opened this issue Jun 3, 2014 · 9 comments
Open

Comments

@ericpeters0n
Copy link

jekyll build --safe

Source: .
Destination: ./_site
Generating...   Liquid Exception: Unknown tag 'stylesheet' in ./_layouts/base.html
error: Unknown tag 'stylesheet'. Use --trace to view backtrace

Is some additional plugin configuration required prior to the standard bundle and rake site:publish?

@ericpeters0n
Copy link
Author

Evidently jekyll-assets is not doing it's thing in the out of the box configuration...

@robpataki
Copy link

@ericpeters0n You have to create the plugins/ext.rb file add the require 'jekyll-assets' line to it, as mentioned in the documentation of jekyll-assets (https://github.com/ixti/jekyll-assets#how-to-use-jekyll-assets). At first the _plugins folder mentioned in the docs confused me too :(

@dimchez
Copy link

dimchez commented Sep 5, 2014

I've renamed _plugins/_ext.rb to _plugins/ext.rb and ran jekyll build --safe. It still fails with Unknown tag error. Jekyll build on Github fails as well for the same reason. Is there a way to make it work?

@nortbotics
Copy link

I'm having the same issue here. Works when I build locally but github pages doesn't like it. Even with the require in the ext.rb file.

@Camel
Copy link

Camel commented Nov 14, 2014

Yep, I'm having the same issue here. Any ideas?

@nortbotics
Copy link

Yes, the problem is jekyll-assets is not supported on github.io

You can only run a few supported plugins on github.io; and jekyll-assets isn't one of them.

I never found a way to workaround it.

@Camel
Copy link

Camel commented Nov 19, 2014

Shoot well thanks for the note in any case.

@ghost
Copy link

ghost commented Dec 3, 2014

@Camel
Copy link

Camel commented Dec 4, 2014

Ah gotcha thanks a bunch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants