Complete the code to set the page title dynamically based on the CMS page name.
pageTitle = "[1]" + " - My Website"
The page title should use the dynamic pageName variable to reflect the current CMS page.
Complete the code to generate a meta description using the CMS page's summary.
metaDescription = "Learn more about " + [1]
The meta description should include the pageSummary to describe the content of the CMS page.
Fix the error in the code that sets the canonical URL for the CMS page.
canonicalURL = baseURL + "/" + [1]
The canonical URL should use the pageName to create a proper link to the current page.
Fill both blanks to create a dynamic Open Graph title and description for social sharing.
ogTitle = [1] + " | " + siteName ogDescription = [2]
The Open Graph title should use the pageTitle combined with the site name, and the description should use the pageSummary for clear social media previews.
Fill all three blanks to build a dynamic SEO-friendly URL slug, title, and meta keywords.
urlSlug = [1].toLowerCase().replace(/\s+/g, '-') seoTitle = [2] + " - " + siteName metaKeywords = [3].split(', ')
The URL slug should be based on the pageName converted to lowercase and hyphenated. The SEO title uses the pageTitle combined with the site name. Meta keywords come from the keywords string split into a list.