File size: 694 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
import { useTranslate } from 'i18n-calypso';
import DocumentHead from 'calypso/components/data/document-head';
export const DiscoverDocumentHead = ( { tabTitle } ) => {
const translate = useTranslate();
const title = translate( 'Browse %s blogs & read articles ‹ Reader', {
args: [ tabTitle ],
comment: '%s is the type of blog being explored e.g. food, art, technology etc.',
} );
const meta = [
{
name: 'description',
content: translate(
'Explore millions of blogs on WordPress.com. Discover posts, from food and art to travel and photography, and find popular sites that inspire and inform.'
),
},
];
return <DocumentHead title={ title } meta={ meta } />;
};
|