Skip to content

Commit

Permalink
feat: add configurable robots meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nsprenkle committed Nov 15, 2024
1 parent c20c767 commit 065803c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<% if (htmlWebpackPlugin.options.OPTIMIZELY_PROJECT_ID) { %>
<script src="https://www.edx.org/optimizelyjs/<%= htmlWebpackPlugin.options.OPTIMIZELY_PROJECT_ID %>.js"></script>
<% } %>
<% if (htmlWebpackPlugin.options.ROBOTS_CONTENT_TAG) { %>
<meta name="robots" content="<%= htmlWebpackPlugin.options.ROBOT_CONTENT_TAG %>">
<% } %>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit 065803c

Please sign in to comment.