Hexo External Link

screenshot of Hexo External Link
hexo

一个Hexo插件,解决外链跳转问题

Overview

The hexo-external-link plugin is a valuable tool designed for Hexo users looking to manage their external links efficiently. By automatically configuring HTML anchor tags for external links, it provides optimized functionality that enhances both user experience and SEO benefits. This plugin is particularly useful for bloggers and website creators who want to ensure that external links do not impact their site's ranking while maintaining an organized structure for their content.

In addition to adding necessary attributes to external links, the plugin also generates a dedicated page for link redirects, which is particularly advantageous for controlling user navigation. With a few configuration steps in the Hexo _config.yml file, users can quickly enable and customize this plugin for their specific needs.

Features

  • Automatic Attribute Insertion: Automatically adds target='_blank' and rel='external nofollow noopener noreferrer' to external links, effectively informing search engines that these links should not count toward the site's weight.
  • Customizable Redirect Page: Generates a default redirect page (go.html) in the root directory, allowing for a controlled user experience when navigating to external links.
  • Base64 Encoding Option: Offers the ability to use Base64 encoding for redirect URLs, enhancing link security and obscurity.
  • Flexible Configuration: Users can enable or disable features directly in the _config.yml, tailoring the plugin's functionality to their specific requirements.
  • Domain Security Settings: Supports domain filtering to prevent unauthorized access, with options to allow certain domains like localhost while directing others to the homepage.
  • Ignore Attributes Feature: Allows users to specify a list of attributes that, if present, will exclude specific anchor tags from being modified, providing enhanced flexibility in link management.
  • Enhanced Safety Measures: Protects externally linked content with safety checks to deter link theft or misuse.
  • User-Friendly Setup: Installation and configuration are straightforward, allowing users to integrate the plugin seamlessly into their existing Hexo setup.
hexo
Hexo

Hexo is a static site generator built with Node.js that enables developers to create fast and efficient websites using Markdown, EJS, and Stylus. It offers features such as server-side rendering, plugin support, and easy deployment to hosting services like GitHub Pages and Netlify.