9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
|
const { site: { title: siteTitle } } = require('../../config/speechConfig.js');
|
||
|
|
||
|
export const createPageTitle = (pageTitle) => {
|
||
|
if (!pageTitle) {
|
||
|
return `${siteTitle}`;
|
||
|
}
|
||
|
return `${siteTitle} - ${pageTitle}`;
|
||
|
};
|