Function: publicAuthor() ​

Source: 1.2.2 · f05e2ff455c2

ts
function publicAuthor(author): PublicAuthor;

Defined in: packages/valaxy/shared/seo.ts:12

Author fields safe to publish on a site that did not set them. Empty email and link are omitted. Callers pass the resolved site author, so an address the site set explicitly is kept.

Parameters ​

author ​

| { email?: string; link?: string; name?: string; } | undefined

Returns ​

PublicAuthor