Skip to content

Commit

Permalink
feat: add configurable robots meta tag (#1520)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsprenkle authored Nov 18, 2024
1 parent c20c767 commit 4fe40c2
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.META_TAG_ROBOTS_CONTENT_ATTR) { %>
<meta name="robots" content="<%= htmlWebpackPlugin.options.META_TAG_ROBOTS_CONTENT_ATTR %>">
<% } %>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit 4fe40c2

Please sign in to comment.