Przeglądaj źródła

Fixed noindex meta tag for standalone version

n1474335 7 lat temu
rodzic
commit
8360c9e9f9
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/web/html/index.html

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

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