The web site uses Clean URLs for pages, so the (1) step is to create folder with the name of the new page and create file with index.textile
name. The (2) next step is to add a special header in the beginning of the file and to replace <page name>
with the page name (spaces are allowed):
---
layout: page
title: <page name>
---
The (3) step is to writing content in Textile, you can use Textile live web editor to see the result immediately. Once you finished (4) commit the folder and the file in the repository, they will accessible in a few seconds.
Add the following at the end of _data/menu.yml file:
-
label: <label>
path: <a relative url to a page (i.e. /contacts/)>
Note: a slash (/) is required at the end and the beginning of the path.
jekyll serve --watch --config _config.development.yml, _config.yml
Pavel Klinov ([email protected])