import defaultSettings from '@/settings'

const title = defaultSettings.title || 'IRC Imaging System'

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