mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-16 10:08:44 +00:00
pass in page title, fit in mobile
This commit is contained in:
+2
-1
@@ -39,6 +39,7 @@ const EditorPage = (props)=>{
|
||||
save,
|
||||
onSaveSuccess,
|
||||
pageName,
|
||||
pageTitle,
|
||||
showEditorButtons,
|
||||
userThemes = {}
|
||||
} = props;
|
||||
@@ -375,7 +376,7 @@ const EditorPage = (props)=>{
|
||||
<div className= {`${pageName} sitePage`}>
|
||||
<Meta name='google-site-verification' content='NwnAQSSJZzAT7N-p5MY6ydQ7Njm67dtbu73ZSyE5Fy4' />
|
||||
{(pageName == 'editPage') && <Meta name='robots' content='noindex, nofollow' />}
|
||||
<Navbar brew={currentBrew} editor={editorRef.current} pageName={pageName} account={global.account} currentPage={currentBrewRendererPageNum}>
|
||||
<Navbar brew={currentBrew} editor={editorRef.current} pageName={pageName} title={pageTitle} account={global.account} currentPage={currentBrewRendererPageNum}>
|
||||
<Navbar.File>
|
||||
<Nav.item
|
||||
className='save'
|
||||
@@ -8,7 +8,7 @@ const UIPage = createReactClass({
|
||||
|
||||
render : function(){
|
||||
return <div className='uiPage sitePage'>
|
||||
<Navbar pageName={this.props.pageName} />
|
||||
<Navbar pageName={this.props.pageName} title={this.props.title} />
|
||||
<div className='content'>
|
||||
{this.props.children}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user