Download wp-calypso/client/reader/discover/discover-document-head.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 694 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/discover/discover-document-head.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/reader/discover/discover-document-head.js
-
curl -L -o discover-document-head.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/reader/discover/discover-document-head.js
694 Bytes
| 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 } />; | |
| }; | |