Skip to content

Commit cbfb62c

Browse files
limit Open in Claude to production only
1 parent f3fb5ac commit cbfb62c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

layouts/partials/md-dropdown.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<div class="text-base">Ask questions with Docs AI</div>
5858
</div>
5959
</button>
60+
{{ if eq hugo.Environment "production" }}
6061
<button
6162
onclick="openInClaude()"
6263
data-heap-id="search-docs-ai-button"
@@ -69,6 +70,7 @@
6970
<div class="text-base">Open in Claude</div>
7071
</div>
7172
</button>
73+
{{ end }}
7274

7375
</div>
7476
</details>

0 commit comments

Comments
 (0)