fix pages without a  attribute, i.e. index/archival
remove trailing slash
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into canonical-fix
added trailingSlash option for canonical url, defaulting to true
Merge pull request #2 from iamchrismiller/canonical-fix

Canonical fix