Skip to content
Hexo plugin to add canonical link in articles
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

hexo-canonical-link

Hexo plugin to add canonical links for pages

Installation

npm install --save hexo-canonical-link

Usage in ejs

<%- canonicalLink(config, page) %>

By default, the url of the page will be set as canonical link. To override this, provide canonical_url in the front matter of the page.

License

MIT

You can’t perform that action at this time.