Constructor
# new AdmSeo(config)
Create a Router.
Parameters:
Name | Type | Description |
---|---|---|
config |
object
|
Configuration object of seo |
Example
//Example 1:
config = {
locales: ['de', 'en'],
initComplete = () => {} || null;
};
Methods
# setMetaData(metadata)
Set HTML meta data.
Parameters:
Name | Type | Description |
---|---|---|
metadata |
object
|
Objectwith HTML metadatas //Example 1: metadata = { META_LANG: "", META_URL_DEFAULT: "", META_TITLE: "", META_DESCRIPTION: "", META_OG_TITLE: "", META_OG_DESCRIPTION: "", META_OG_IMAGE: "", META_OG_URL: "", META_TWITTER_CARD: "", META_TWITTER_SITE: "", META_TWITTER_CREATOR: "" }; |