mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-09 15:44:55 -04:00
15 lines
362 B
TypeScript
15 lines
362 B
TypeScript
import {endTitle} from 'common/envs/constants'
|
|
import Head from 'next/head'
|
|
|
|
/** Exclude page from search results */
|
|
export function NoSEO(props: {title?: string}) {
|
|
let title = props.title ? props.title + ' | ' : ''
|
|
title += endTitle
|
|
return (
|
|
<Head>
|
|
<title>{title}</title>
|
|
<meta name="robots" content="noindex,follow" />
|
|
</Head>
|
|
)
|
|
}
|