mirror of
https://github.com/oxen-io/oxen-website.git
synced 2023-12-13 21:00:18 +01:00
8 lines
182 B
TypeScript
8 lines
182 B
TypeScript
import { METADATA } from '../constants';
|
|
|
|
export function generateTitle(prefix: string) {
|
|
return prefix
|
|
? `${prefix} - ${METADATA.TITLE_SUFFIX}`
|
|
: METADATA.TITLE_SUFFIX;
|
|
}
|