Add checks for IsPage and presence of author

So that these SEO partials can be used on Hugo nodes (index pages etc) and
without author params setup.