Generates general SEO meta tags for the HTML head section.
import { general } from '@raven-js/beak/seo';const tags = general({ title: 'My Page', description: 'This is my page description', domain: 'example.com', path: '/my-page', suffix: 'My Site'});// Output:// <title>My Page | My Site</title>// <meta name="description" property="description" content="This is my page description" />// <link rel="canonical" href="https://example.com/my-page" /> Copy
import { general } from '@raven-js/beak/seo';const tags = general({ title: 'My Page', description: 'This is my page description', domain: 'example.com', path: '/my-page', suffix: 'My Site'});// Output:// <title>My Page | My Site</title>// <meta name="description" property="description" content="This is my page description" />// <link rel="canonical" href="https://example.com/my-page" />
Configuration object for general SEO tags
The generated meta tags as an HTML string
Generates general SEO meta tags for the HTML head section.
Example