Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tarunbatra/hexo-canonical-link
- Owner: tarunbatra
- License: mit
- Created: 2019-07-30T19:24:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-12T19:45:25.000Z (almost 4 years ago)
- Last Synced: 2024-11-08T13:16:09.232Z (6 days ago)
- Language: JavaScript
- Size: 73.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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