juusaw / amp-jekyll

Build Accelerated Mobile Page versions of your Jekyll posts
MIT License
281 stars 59 forks source link

amp-jekyll not generating files jekyll 3.1.2 #2

Closed creativeaura closed 8 years ago

creativeaura commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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