UNPKG

metax

Version:

Add SEO and other metadata tags to your Gatsby website.

15 lines (11 loc) 269 B
import PropTypes from "prop-types" const dcTitleMeta = ({ content, lang }) => ({ content, lang: content && lang, name: content && "dcterms.title", }) export default dcTitleMeta dcTitleMeta.propTypes = { content: PropTypes.string, lang: PropTypes.string, }