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