Ngx meta.globalmetadata
Home > @davidlj95/ngx-meta > GlobalMetadata
GlobalMetadata interface
Specifies metadata that will be used by more than one module
Signature:
export interface GlobalMetadata
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
applicationName? | readonly |
string | null | (Optional) Sets application name for: - Standard.applicationName (needs standard module) - OpenGraph.siteName (needs Open Graph module) |
canonicalUrl? | readonly |
URL | string | null | (Optional) Sets canonical URL for: - Standard.canonicalUrl (needs standard module) - OpenGraph.url (needs Open Graph module) |
description? | readonly |
string | null | (Optional) Sets description for: - Standard.description (needs standard module) - OpenGraph.description (needs Open Graph module) - TwitterCard.description (needs Twitter Cards module) |
image? | readonly |
GlobalMetadataImage | null | (Optional) Specifies image metadata (will be used for link previews / social cards) to be used for more than one module. Like: - OpenGraph.image (needs standard module) - TwitterCard.image (needs Twitter Cards module) Open Graph allows for more attributes for the image. Specify OpenGraph.image if you want to customize those too. |
locale? | readonly |
string | null | (Optional) Sets localization of this page Value must be a valid language tag complying with BCP 47 For instance: " For: - Standard.locale (needs standard module) - OpenGraph.locale (needs Open Graph module) |
title? | readonly |
string | (Optional) Sets title for: - Standard.title (needs standard module) - OpenGraph.title (needs Open Graph module) - TwitterCard.title (needs Twitter Cards module) |