jafaircl / gatsby-plugin-amp

Gatsby plugin for creating AMP pages
34 stars 32 forks source link

Plugin not working #6

Closed c0b41 closed 5 years ago

c0b41 commented 5 years ago

onPreRenderHTML and replaceRenderer methods dont support pathname and never called plugin code blocks

jafaircl commented 5 years ago

What version of gatsby are you using?

c0b41 commented 5 years ago

@jafaircl 2.0.10

jafaircl commented 5 years ago

The commit adding pathname to those APIs was merged on 11/7/18 which would be version 2.0.41 so you'll need to have at least that version.

c0b41 commented 5 years ago

@jafaircl thanks :)