Skip to content

Commit

Permalink
refactor: add nofollow link attr to qualify login link (halo-dev#71)
Browse files Browse the repository at this point in the history
### What this PR does?
为登陆链接添加 nofollow 标识防止搜索引擎抓取

/kind improvement

Fixes halo-dev#70

```release-note
为登陆链接添加 nofollow 标识防止搜索引擎抓取
```
  • Loading branch information
guqing authored Jan 3, 2024
1 parent 4d1ad47 commit 3f09e72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/comment-widget/src/components/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ function handleOpenLoginPage() {

<a
class="select-none text-xs text-gray-600 transition-all hover:text-gray-900 dark:text-slate-200 dark:hover:text-slate-400"
rel="nofollow"
:href="loginUrl"
>
(已有该站点的账号)
Expand Down

0 comments on commit 3f09e72

Please sign in to comment.