27th September 2017 by Pedr Browne
151 Words / 1 Minute Read
Every page will include the following metadata tags:
<title></title>
<meta name="description" content=""/>
<meta name="keywords" content=""/>For pages that are not generated using a template, i.e.. all pages in the
pages/ directory, metadata is defined in site-config.js in its metadata
fields.
For pages that are generated, i.e. all pages in the templates/ directory,
metadata is defined in the index.md file’s frontmatter for the page.
Tags and categories pages use a combination of text defined in site-config.js
and the name of the tag or category.
A robots.txt file is generated automatically for your site with the following
configuration:
Sitemap: `http://example.com/sitemap.xml`,
User-agent: *
Allow: /If you add a tracking code to the seo.googleTrackingID field of
site-config.js, Google’s tracking code will be included in your pages.
A sitemap is automatically generated to /sitemap.xml for your site every time
it is built, meaning it will always be up-to-date. The sitemap uses the
site.url field in site-config.js.