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() {
|
renderFormHeader() {
|
||||||
const {site} = this.context;
|
const {site} = this.context;
|
||||||
const siteTitle = site.title || '';
|
const siteTitle = site.title || '';
|
||||||
const {name, description} = getProductDetails({site});
|
|
||||||
return (
|
return (
|
||||||
<header className='gh-portal-signup-header'>
|
<header className='gh-portal-signup-header'>
|
||||||
{this.renderSiteLogo()}
|
{this.renderSiteLogo()}
|
||||||
<h2 className="gh-portal-main-title">{name || siteTitle}</h2>
|
<h2 className="gh-portal-main-title">{siteTitle}</h2>
|
||||||
<p className="gh-portal-main-subtitle">{description}</p>
|
|
||||||
</header>
|
</header>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue