Skip to content

Commit 4fe40c2

Browse files
authored
feat: add configurable robots meta tag (#1520)
1 parent c20c767 commit 4fe40c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

public/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
<% if (htmlWebpackPlugin.options.OPTIMIZELY_PROJECT_ID) { %>
1010
<script src="https://www.edx.org/optimizelyjs/<%= htmlWebpackPlugin.options.OPTIMIZELY_PROJECT_ID %>.js"></script>
1111
<% } %>
12+
<% if (htmlWebpackPlugin.options.META_TAG_ROBOTS_CONTENT_ATTR) { %>
13+
<meta name="robots" content="<%= htmlWebpackPlugin.options.META_TAG_ROBOTS_CONTENT_ATTR %>">
14+
<% } %>
1215
</head>
1316
<body>
1417
<div id="root"></div>

0 commit comments

Comments
 (0)