Generates author meta tags for the HTML head section.

Provides basic author information for search engines.

import { author } from '@raven-js/beak/seo';

// Basic author information
const tags = author({
name: 'John Doe',
email: 'john@example.com'
});
// Output:
// <meta name="author" content="John Doe" />
// <meta name="reply-to" content="john@example.com" />
  • Parameters

    • config: AuthorConfig

      Configuration object for author tags

    Returns string

    The generated author meta tags as an HTML string