summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/LogParser
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-06-09 11:40:53 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-06-09 11:40:53 -0400
commit1ca7d6048f18b063451c20ec0e2053bfafb4c80e (patch)
tree814e5cf0665bf59df89d51bdcb8dbd07575a716f /src/SMAPI.Web/Views/LogParser
parent96c49021a1d943e2ade7dbb96be3de707d7665c9 (diff)
downloadSMAPI-1ca7d6048f18b063451c20ec0e2053bfafb4c80e.tar.gz
SMAPI-1ca7d6048f18b063451c20ec0e2053bfafb4c80e.tar.bz2
SMAPI-1ca7d6048f18b063451c20ec0e2053bfafb4c80e.zip
add noindex for parsed logs
Diffstat (limited to 'src/SMAPI.Web/Views/LogParser')
-rw-r--r--src/SMAPI.Web/Views/LogParser/Index.cshtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml
index a8b81c52..7307817c 100644
--- a/src/SMAPI.Web/Views/LogParser/Index.cshtml
+++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml
@@ -8,6 +8,10 @@
}
@section Head {
+ @if (Model.PasteID != null)
+ {
+ <meta name="robots" content="noindex" />
+ }
<link rel="stylesheet" href="~/Content/css/log-parser.css?r=20180603" />
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" crossorigin="anonymous"></script>