Fixed noindex meta tag for standalone version

This commit is contained in:
n1474335 2018-03-02 11:15:37 +00:00
parent 328142dac7
commit 8360c9e9f9
1 changed files with 2 additions and 1 deletions

View File

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