Metadata
Last updated
Last updated
You can include search engine optimization (SEO) metadata in your theme using HTML and Liquid. There are three main aspects to consider:
The
The
The code for the above SEO metadata should be included in the <head>
element.
For example:
For another example of including metadata in a theme, you can refer to .
You can include a <title>
element for search engines to read the page title from. The title for most pages can be set in the admin, and you can access this title with the Liquid .
You can include a <meta>
element for search engines to read the page description from. The description for most pages can be set in the admin, and you can access this description with the Liquid .
You can specify a canonical URL for a given page using the global Liquid .