0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Setting site title as default title

This commit is contained in:
Peter Zimon 2021-05-18 16:36:48 +02:00
parent d4fe243d43
commit ef10fce723

View file

@ -421,12 +421,10 @@ class SignupPage extends React.Component {
renderFormHeader() {
const {site} = this.context;
const siteTitle = site.title || '';
const {name, description} = getProductDetails({site});
return (
<header className='gh-portal-signup-header'>
{this.renderSiteLogo()}
<h2 className="gh-portal-main-title">{name || siteTitle}</h2>
<p className="gh-portal-main-subtitle">{description}</p>
<h2 className="gh-portal-main-title">{siteTitle}</h2>
</header>
);
}