import defaultSettings from '@/settings' let _config_title = localStorage.getItem('browserTitle') == 'undefined' ? undefined : localStorage.getItem('browserTitle') const title = _config_title || defaultSettings.title export default function getPageTitle(pageTitle) { if (pageTitle) { return `${pageTitle} - ${title}` } return `${title}` }