SEO and author fixes ()

* Fix canonical URL
* Fix next/previous page paths
* Group meta types together
* Fix twitter:creator conditional
* Allow `author` to accept an object or string
* Reduce white-space
* Add "website" as default `og:type`
* Add `article:modified_time`
* Show `article:modified_time` on `article` only

Fixes 
This commit is contained in:
Michael Rose
2018-01-09 13:58:35 -05:00
committed by GitHub
parent 8fc3692e21
commit 51544d5c62
2 changed files with 73 additions and 76 deletions

@ -1,8 +1,5 @@
{% if page.author and site.data.authors[page.author] %}
{% assign author = site.data.authors[page.author] %}
{% else %}
{% assign author = site.author %}
{% endif %}
{% assign author = page.author | default: page.authors[0] | default: site:author %}
{% assign author = site.data.authors[author] | default: author %}
<div itemscope itemtype="http://schema.org/Person">