惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LINUX DO - 最新话题
G
Google Developers Blog
J
Java Code Geeks
The GitHub Blog
The GitHub Blog
F
Full Disclosure
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Vercel News
Vercel News
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Announcements
Recent Announcements
Help Net Security
Help Net Security
The Hacker News
The Hacker News
IT之家
IT之家
Y
Y Combinator Blog
Martin Fowler
Martin Fowler
L
Lohrmann on Cybersecurity
C
CERT Recently Published Vulnerability Notes
V
Visual Studio Blog
博客园 - 聂微东
Hacker News: Ask HN
Hacker News: Ask HN
H
Hacker News: Front Page
Know Your Adversary
Know Your Adversary
Security Latest
Security Latest
Security Archives - TechRepublic
Security Archives - TechRepublic
Simon Willison's Weblog
Simon Willison's Weblog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Troy Hunt's Blog
Last Week in AI
Last Week in AI
Schneier on Security
Schneier on Security
N
News and Events Feed by Topic
博客园 - 【当耐特】
有赞技术团队
有赞技术团队
AWS News Blog
AWS News Blog
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
Google DeepMind News
Google DeepMind News
Cloudbric
Cloudbric
N
News | PayPal Newsroom
A
About on SuperTechFans
S
Schneier on Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Hugging Face - Blog
Hugging Face - Blog
M
MIT News - Artificial intelligence
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
雷峰网
雷峰网
T
The Exploit Database - CXSecurity.com
罗磊的独立博客
K
Kaspersky official blog
The Cloudflare Blog
I
Intezer

定の栈

macOS Tahoe 如何用自己的视频做动态壁纸(替换 Aerial 方法) Podman Compose 常用命令速查 创建 Swap 文件 Cursor 2025 Hugo 中文阅读时间计算模版 手动重加载不蒜子计数 入坑舞萌 DX 历时两月终抵 w0 与首鸟加 多邻国 600 天连胜 原神五周年纪念 Asuna 成年生日 告别绝区零 站长18周岁啦! 一位动漫迷的追番日志与热情之旅 起飞日志 Reflector 镜像列表更新常用命令与配置文件 个人自用 rsync 文件同步常用命令 历时千日原神,深渊终抵满星 Arch Linux 个人常用命令记录 《三体III:死神永生》 《三体II:黑暗森林》 《千恋*万花》与现代物理学概念奇妙碰撞后产生出的糟糕想法 Minecraft 15 周年骨折价补票入正 网页添加 Live2D 看板娘 记第二次清醒控梦体验 晶蝶终于收集到了x9999上限! 博客成立一周年了! 终于出雾切辣! 让萝莉受孕的糟糕教学 双11剁手铠侠RC20固态体验 Twikoo评论系统备份更改数据 解决Hexo推送时的spawn failed报错 基于 Butterfly 主题的轮播插件美化 原神60级毕业啦! 站长16周岁啦! 本站使用的一些 npm 模块插件 显示器屏幕亮度调节工具推荐 Butterfly主题公告栏插入a标签按钮 关于niconico上兄贵本篇的收集 常用代理设置汇总 HTTP状态码释义 HTML转义字符对照表 HTTP Content-type对照表 部署Meting-API 抽出1命万叶了! 解决打开IE强制跳转Edge浏览器 为你的博客更换鸿蒙字体 无服务器部署Google谷歌镜像 有关科技创新的未来世界的小说。(ChatGPT) 萝莉的审视与经验 提问的智慧 hexo-generator-feed插件中文文档 Butterfly 主题 HTML5 音乐播放器 APlayer 美化调整 ChatGPT注册&使用&调教&镜像整合 Markdown 语法与外置标签写法汇总 突破天翼校园网限制开启移动热点 原神 mod 模组安装教程 WordPress自用插件和主题推荐 Hexo 下 Markdown 语法失效总结 Git常用基本命令使用详细大全 VScode递增减数字或字母插件 《三体I:地球往事》 CDN整理汇总 ASCII 字符画生成 原神胡桃复刻抽卡记录 九亿张涩图收藏 《流浪地球》 原神私服常见问题 原神私服常用指令 原神私服游玩教程整合 安装 ImageMagick 扩展 使 WP 的 URL 链接支持中文 Hello World
hexo-filter-nofollow插件中文文档
hexojs · 2023-04-21 · via 定の栈

声明

本文档由本人机翻hexo-filter-nofollow的官方文档,仅用于记录

hexo-filter-nofollow 官方文档:https://github.com/hexojs/hexo-filter-nofollow

hexo-filter-nofollow

为网站使用到的所有外链添加rel="noopener external nofollow noreferrer", 可以有效地加强网站 SEO 和防止权重流失

自动为所有外部链接添加 nofollow 属性。

hexo-filter-nofollow 将 rel=“noopener external nofollow noreferrer” 添加到所有外部链接以确保安全、隐私和 SEO。阅读更多

安装

$ npm i hexo-filter-nofollow --save

配置

nofollow:
  enable: true
  field: site
  exclude:
    - "exclude1.com"
    - "exclude2.com"
  • enable - 启用插件。默认值为true
  • field - 您希望插件添加的范围是sitepost。 默认值为site
    • post - 仅将 nofollow 属性添加到帖子内容中的外部链接
    • site - 全站外链添加 nofollow 属性
  • exclude - 排除主机名。在适用时指定子域,包括www
    • exclude1.com不适用于www.exclude1.comen.exclude1.com

赞助

  • 微信

    微信

  • 支付宝

    支付宝