Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,field: site有些页面的外链依然不会添加 rel="external nofollow" #11

Open
Senorui opened this issue Aug 13, 2020 · 1 comment

Comments

@Senorui
Copy link

Senorui commented Aug 13, 2020

field: site,且设置域名白名单时,有些页面的外链依然不会添加 rel="external nofollow"
比如关于页上添加的外链,渲染时并不会添加。
而 hexo-autonofollow 插件 全站默认除了白名单域名的链接一律添加 rel="external nofollow" 。

有点强迫症的我,希望得到您的回复!!!

@Senorui
Copy link
Author

Senorui commented Aug 13, 2020

我的关于页上有Github的链接和邮箱链接。
使用hexo-autonofollow插件时

<a rel="external nofollow noopener noreferrer" target="_blank" class="text-value-url" href="https://github.com/Senorui">@Senorui</a>
&
<a rel="external nofollow noopener noreferrer" target="_blank" class="text-value-url" href="mailto:admin@senorui.com">admin@senorui.com</a>

而使用此插件时

<a rel="noopener noreferrer" target="_blank" class="text-value-url" href="https://github.com/Senorui">@Senorui</a>
&
<a rel="noopener noreferrer" target="_blank" class="text-value-url" href="mailto:admin@senorui.com">admin@senorui.com</a>

并不能添加 rel =“ external nofollow” 。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant