SEO and author fixes (#1456)
* 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 #289
This commit is contained in:
_includes
@ -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">
|
||||
|
||||
|
Reference in New Issue
Block a user