<commit_before>import React from 'react'
import PropTypes from 'prop-types'
import Head from 'next/head'

const SITE_NAME = 'geo.data.gouv.fr'

const Meta = ({ title, description }) => (
  <Head>
    <title>{title} | {SITE_NAME}</title>
    <meta name='twitter:title' content={title} />
    <meta property='og:title' content={title} />

    {description && <meta name='description' content={description} />}
    {description && <meta name='twitter:description' content={description} />}
    {description && <meta name='og:description' content={description} />}
  </Head>
)

Meta.propTypes = {
  title: PropTypes.string.isRequired,
  description: PropTypes.string
}

export default Meta<commit_msg>Add meta image<commit_after>import React from 'react'
import PropTypes from 'prop-types'
import Head from 'next/head'

const SITE_NAME = 'geo.data.gouv.fr'

const Meta = ({ title, description, image }) => (
  <Head>
    <title>{title} | {SITE_NAME}</title>
    <meta name='twitter:title' content={title} />
    <meta property='og:title' content={title} />

    {description && <meta name='description' content={description} />}
    {description && <meta name='twitter:description' content={description} />}
    {description && <meta name='og:description' content={description} />}

    {image && <meta name='twitter:image' content={description} />}
    {image && <meta name='og:image' content={description} />}
  </Head>
)

Meta.propTypes = {
  title: PropTypes.string.isRequired,
  description: PropTypes.string,
  image: PropTypes.string
}

export default Meta
{'fraction_non_alphanumeric': 0.16549069916613213, 'fraction_numerical': 0.0, 'mean_word_length': 4.735294117647059, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7176038', 'n_tokens_mistral': 472, 'n_tokens_neox': 475, 'n_words': 110}