Add checks for IsPage and preence of author

So that these SEO partials can be used on Hugo nodes (index pages etc) and without author params setup.
Merge pull request #2 from bjornerik/add-checks

Add checks for IsPage and presence of author