-
Notifications
You must be signed in to change notification settings - Fork 1
Adding Page
Linda Mejia edited this page Nov 7, 2019
·
11 revisions
To add a simple page, like an "About" page:
- Add a markdown file in the site repo under the "_pages" folder
- Add Front Matter / first lines of code, which should look something like:
---
title: About
permalink: /about/
layout: page
---
- Below the
---
add your content
To include a page with more functionality:
- Follow steps 1 and 2 above
- Add the html file in the "_layouts" folder in the site repo.
The first lines of the html file should look something like, depending on what you want to include:
{% include multilingual.html %}
{% include head.html %}
{% include header.html %}
For more information on how this works
Wrap your content inside of<div id="main-content" class="a-class" role="main"> </div>
Example:
- Add the javascript file in the "_includes" folder under "/assets/js/"
If you have any suggestions for this material, please feel free to raise an issue; or if you have any additional questions that are not covered, please feel free to contact us.