1.1.1 • Published 2 years ago
wmk-seo v1.1.1
SEO
WmkSeo.Meta
WmkSeo.Meta = ({description, lang, title, path, slug, ogImage, twitterImage, twitterHandle, baseUrl, siteTitle, isSiteTitleDisplayed})...
Assists with page SEO meta data (including open graph and twitter image). Note: ogImage, twitterImage and twitterHandle expect a string. If undefined is passed, you will see console errors. To intentionally leave out this data, you must pass an empty string '' to these props. For the images, it is good to have a conditional to check for the url or pass an empty string to avoid the console logs.
WmkSeo.Schema
WmkSeo.Schema = ({ graphs, baseUrl, siteTitle })...
Helps dynamically generate on-page schema.