0.1.1 • Published 6 years ago

hexo-auto-canonical v0.1.1

Weekly downloads
61
License
MIT
Repository
github
Last release
6 years ago

hexo-auto-canonical

Downloads npm LICENSE

A generator automatically make canonical link for hexo. You could use this module for your SEO of blog powered by hexo.

Installation

npm install --save hexo-auto-canonical

Usage

Add an auto canonical helper simply to your html's <head> block as follows:

with ejs,

<%- autoCanonical(config, page) %>

OR with jade,

| !{ autoCanonical(config, page) }

License

Copyright (c) 2016, HyunSeob. Licensed under the MIT license.