Update Plugin.php

Added a check to see if a current page was found. Had to use for when using an iFrame instead of using {{ content }}
Merge pull request #2 from khanduras/patch-1

Update Plugin.php