From 1ca7d6048f18b063451c20ec0e2053bfafb4c80e Mon Sep 17 00:00:00 2001
From: Jesse Plamondon-Willard <github@jplamondonw.com>
Date: Sat, 9 Jun 2018 11:40:53 -0400
Subject: add noindex for parsed logs

---
 src/SMAPI.Web/Views/LogParser/Index.cshtml | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/SMAPI.Web/Views')

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>
-- 
cgit