add check to prevent plugin from looping over every page when each pages is built
Merge pull request #10 from jonschlinkert/master

add check to prevent plugin from looping over every page when each pages...