starlight_help: Do not use double curly braces for email address.

When we copied over the logic for the footer from the previous help
center, I forgot to remove the double curly braces which were getting
rendered as is in astro.
This commit is contained in:
Shubham Padia
2025-09-01 04:55:09 +00:00
committed by Tim Abbott
parent 62093ee37d
commit 37ae73fa86

View File

@@ -1,7 +1,7 @@
---
import {CORPORATE_ENABLED, SUPPORT_EMAIL} from "astro:env/client";
let footer_html = `<p>Don't see an answer to your question? <a href="mailto:{{ ${SUPPORT_EMAIL} }}">Contact this Zulip server's administrators</a> for support.</p>`;
let footer_html = `<p>Don't see an answer to your question? <a href="mailto:${SUPPORT_EMAIL}">Contact this Zulip server's administrators</a> for support.</p>`;
if (CORPORATE_ENABLED) {
footer_html = `<p>Your feedback helps us make Zulip better for everyone! Please <a href="/starlight_help/contact-support">contact us</a> with questions, suggestions, and feature requests.</p>`;
}