浏览代码

Add noindex to profile follower/following pages

Daniel Supernault 7 年之前
父节点
当前提交
f30542ffff
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      resources/views/profile/followers.blade.php
  2. 1 0
      resources/views/profile/following.blade.php

+ 1 - 0
resources/views/profile/followers.blade.php

@@ -62,4 +62,5 @@
 @push('meta')
 <meta property="og:description" content="{{$profile->bio}}">
 <meta property="og:image" content="{{$profile->avatarUrl()}}">
+<meta name="robots" content="NOINDEX, NOFOLLOW">
 @endpush

+ 1 - 0
resources/views/profile/following.blade.php

@@ -62,4 +62,5 @@
 @push('meta')
 <meta property="og:description" content="{{$profile->bio}}">
 <meta property="og:image" content="{{$profile->avatarUrl()}}">
+<meta name="robots" content="NOINDEX, NOFOLLOW">
 @endpush