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:
parent
d4fe243d43
commit
ef10fce723
1 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue