Skip to content

Commit 3f09e72

Browse files
authored
refactor: add nofollow link attr to qualify login link (#71)
### What this PR does? 为登陆链接添加 nofollow 标识防止搜索引擎抓取 /kind improvement Fixes #70 ```release-note 为登陆链接添加 nofollow 标识防止搜索引擎抓取 ```
1 parent 4d1ad47 commit 3f09e72

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/comment-widget/src/components

packages/comment-widget/src/components/Form.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ function handleOpenLoginPage() {
306306

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

0 commit comments

Comments
 (0)