We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83f33d8 commit 9f5570fCopy full SHA for 9f5570f
1 file changed
src/supportCallout.ts
@@ -5,7 +5,7 @@ export const SUPPORT_CALLOUT = {
5
};
6
7
export const renderSupportCalloutForRSS = (lang: "zh" | "en" = "zh") => {
8
- const cta = SUPPORT_CALLOUT[lang];
+ const cta = SUPPORT_CALLOUT[lang] ?? SUPPORT_CALLOUT.zh;
9
const { link } = SUPPORT_CALLOUT;
10
return `
11
<hr style="border:none;border-top:0.5px solid rgba(0,0,0,0.08);margin:26px 0 14px;" />
0 commit comments