Преглед на файлове

Fixed noindex meta tag for standalone version

n1474335 преди 7 години
родител
ревизия
8360c9e9f9
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/web/html/index.html

+ 2 - 1
src/web/html/index.html

@@ -87,8 +87,9 @@
             changeLoadingMsg();
             changeLoadingMsg();
             window.loadingMsgsInt = setInterval(changeLoadingMsg, (Math.random() * 2000) + 1500);
             window.loadingMsgsInt = setInterval(changeLoadingMsg, (Math.random() * 2000) + 1500);
         </script>
         </script>
-        <% if (!htmlWebpackPlugin.options.inline) { %>
+        <% if (htmlWebpackPlugin.options.inline) { %>
             <meta name="robots" content="noindex" />
             <meta name="robots" content="noindex" />
+        <% } else { %>
             <script type="application/ld+json">
             <script type="application/ld+json">
                 <% print(JSON.stringify(require("../static/structuredData.json"))); %>
                 <% print(JSON.stringify(require("../static/structuredData.json"))); %>
             </script>
             </script>