The search result screenshot above outlines “tokens” that are automatically replaced by GovCMS when content is created or updated. The tokens in use are:
[node:title] - title of the page
[site:name] - the name of the site
[node:summary] - the Summary field of the page or a trimmed Body field, if the Summary field is empty.
In this exercise you’ll learn how to update meta tags.
Create some Basic page content. Make sure you add some Body content. Do not modify the Meta Tags yet.
Publish your page.
Using the browser inspector tool (usually right-click, then Inspect element), review the <head> of your page. Locate and review the content of tags such as title and description - see below.
Discuss any questions with your trainer.
Edit the page you created in step 1 and update values for the Meta Tags - the Page title and Description fields.
Review page source (as in step 3) and check how the values of those fields have changed.
Hint: The elements 1 and 2 from the search result screenshot can also be verified by hovering over the browser tab.