Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tarunbatra/hexo-canonical-link

Hexo plugin to add canonical link in articles
https://github.com/tarunbatra/hexo-canonical-link

Last synced: 2 days ago
JSON representation

Hexo plugin to add canonical link in articles

Awesome Lists containing this project

README

        

# hexo-canonical-link
Hexo plugin to add canonical links for pages

## Installation
```sh
npm install --save hexo-canonical-link
```

## Usage in ejs

```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