Skip to content

Adding Page

Linda Mejia edited this page Nov 7, 2019 · 11 revisions

Option 1:

To add a simple page, like an "About" page, add a markdown file in the site repo under the "_pages" folder. The Front Matter (first lines of code) should be something like:
--- title: About permalink: /about/ layout: page ---

Option 2:

If you would like to include an html file instead, you can do so by doing the above AND adding the html file in the "_layouts" folder in the site repo. This is probably more efficient if you have a page that requires more functionality, so if you would like to add Javascript you can add your js file in the "_includes" folder under "/assets/js/"