layout | title |
---|---|
page |
Add a New Page |
To add new pages, create a
Markdown file in the
_pages/
directory of the repository. For example, the Markdown text for
this page is
_pages/add-a-new-page.md
.
The Markdown document begins with this YAML front matter:
layout: page
title: {{ page.title }}
{: .language-yaml}
The page will be accessible at {{ page.path }}
.
Every link to another page must be prefixed with
{% raw %}{{ site.baseurl }}{% endraw %}
. For example,
this link to [Update the config file]({{ site.baseurl }}/update-the-config-file/)
appears in the Markdown source as:
{% raw %}[Update the config file]({{ site.baseurl }}/update-the-config-file/){% endraw %}
Click the Update the config file entry in the table of contents to learn how to configure your guide.