0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed recommendations modal heading issue

no ref
This commit is contained in:
Djordje Vlaisavljevic 2023-09-22 14:38:02 +01:00
parent 9c9f0ebadf
commit 99e455a4f5

View file

@ -302,7 +302,7 @@ const RecommendationsPage = () => {
}; };
}, []); }, []);
const heading = pageData && pageData.signup ? t('Welcome to {{siteTitle}}', {siteTitle: title}) : t('Recommendations'); const heading = pageData && pageData.signup ? t('Welcome to {{siteTitle}}', {siteTitle: title, interpolation: {escapeValue: false}}) : t('Recommendations');
const subheading = pageData && pageData.signup ? t('Thanks for subscribing. Here are a few other sites you may enjoy. ') : t('Here are a few other sites you may enjoy.'); const subheading = pageData && pageData.signup ? t('Thanks for subscribing. Here are a few other sites you may enjoy. ') : t('Here are a few other sites you may enjoy.');
if (!recommendationsEnabled) { if (!recommendationsEnabled) {