Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hexo-filter-nofollow

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-filter-nofollow

Add nofollow attribute to all external links automatically

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.8K
increased by6.01%
Maintainers
2
Weekly downloads
 
Created
Source

hexo-filter-nofollow

npm version npm license travis status npm download

Add nofollow attribute to all external links automatically.

hexo-filter-nofollow add rel="external nofollow noreferrer" to all external links for security, privacy and SEO. Read more.

Installations

$ npm i hexo-filter-nofollow --save

Options

nofollow:
  enable: true
  field: site
  exclude:
    - 'exclude1.com'
    - 'exclude2.com'
  • enable - Enable the plugin. Default value is true.
  • field - The scope you want the plugin to proceed, can be 'site' or 'post'. Default value is site.
    • 'post' - Only add nofollow attribute to external links in your post content
    • 'site' - Add nofollow attribute to external links of whole sites
  • exclude - Exclude hostname. Specify subdomain when applicable, including www.
    • 'exclude1.com' does not apply to www.exclude1.com nor en.exclude1.com.

Keywords

FAQs

Package last updated on 17 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc