Skip to content

jekyll-autonofollow is a Jekyll plugin that adds rel="external nofollow" and target="_blank" to all external urls in your posts.

License

Notifications You must be signed in to change notification settings

techiediaries/jekyll-autonofollow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jekyll-autonofollow

jekyll-autonofollow is a Jekyll plugin that adds rel="nofollow" to all external urls in your posts.

The plugin adds rel="external nofollow" to all external links, make your website SEO friendly.

The plugin adds target="_blank", which opens external links in new window or tab

Installation

gem install jekyll-autonofollow

Usage

Enable and configure your plugin in _config.yml by adding the following

nofollow:
    enable: true
    exclude:
    - site1.com
    - site2.com

First you specify enable : true to enable the plugin .

Then you can optionally add a set of urls to exclude which means the plugin won't add rel="nofollow" when it encouters any link pointing to the excluded urls.

Contributing

You are more than welcome to contribute.

Simply fork the repo and send a pull request.

Created by Techiediaries

Release History

  • 1.0.0 Initial release

About

jekyll-autonofollow is a Jekyll plugin that adds rel="external nofollow" and target="_blank" to all external urls in your posts.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published