Skip to content

liuzc/hexo-autonofollow

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

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