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

amp-jekyll not generating files jekyll 3.1.2 #2

Closed
creativeaura opened this issue Mar 7, 2016 · 3 comments
Closed

amp-jekyll not generating files jekyll 3.1.2 #2

creativeaura opened this issue Mar 7, 2016 · 3 comments

Comments

@creativeaura
Copy link

Hello,

I have copied the files in the _plugins folder but when I generate the site or serve the site the plugins gets ignored. I tried to add some debug logs on the generate method but nothing happens. I am using jekyll 3.1.2 for my site.

Am I missing any step ?

@juusaw
Copy link
Owner

juusaw commented Mar 7, 2016

The steps all seem to be there. I assume that you also have the amp.html file in your _layouts folder (as there should be error messages otherwise). You should also have Nokogiri and FastImage installed but missing them shouldn't cause problems until the filtering process.

I first suspected that this may be caused by some change in recent Jekyll versions - I'm still running 3.0.1. I updated my Jekyll to the latest version but am still unable to reproduce the problem.

The only thing that comes to my mind is some sort of a conflict with another (generator) plugin. What other plugins does your site use?

@creativeaura
Copy link
Author

The only other plugin i am using is sitemap generator. I even tried to delete some code and generate an error. But when I build I don't see an error.

I generated the initial site using octropress could that be an issue ? As you mentioned conflict with other generators could be an issue.

I will try to create a new site with jekyll and try the plugin again.

@creativeaura
Copy link
Author

I think the problem was with some octopress generators. Now your plugin works fine.

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

No branches or pull requests

2 participants