Skip to content

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

License

Notifications You must be signed in to change notification settings

liuzc/hexo-autonofollow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published