hexo-autonofollow

1.0.1 • Public • Published

hexo-autonofollow

Adds nofollow attribute to all external links in your hexo blog posts automatically.

Features

  • Add rel="external nofollow" to all external links, SEO friendly.
  • Add target="_blank", Open external links in new window or tab

Install

$ npm install hexo-autonofollow --save

Options

You can configure this plugin in _config.yml.

nofollow:
    enable: true
    exclude:
    - exclude1.com
    - exclude2.com
  • enable - Enable the plugin. Defaults to false.
  • exclude - Exclude hostname

Package Sidebar

Install

npm i hexo-autonofollow

Weekly Downloads

624

Version

1.0.1

License

MIT

Last publish

Collaborators

  • liuzc