import defaultSettings from '@/settings'

const title = defaultSettings.title || 'X1'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
