A basic GitHub Pages site built using Jekyll and Markdown via kramdown.
To report bugs/issues/feature requests, please file an issue.
If you would like to contribute, please see our contributing guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Ensure ruby and homebrew are installed. Out of the scope of these instructions.
Install bundler, a dependency manager for Ruby gems.
gem install bundler
Navigate to project directory and install dependencies using bundler.
bundle install
The above command install dependencies listed in the Gemfile. Minimum dependencies are included for this demonstration.
To serve the site locally, run bundle exec jekyll serve
. The site should now be accessible via localhost:4000.
Create new Markdown files in the pages directory. Pages consist of standard Markdown save for a small section at the top defining the pages layout, indexing, and place within the site structure. This is called the YAML front matter.
Add a title, etc. to the front matter as bellow.
layout: default
title: Child
parent: Parent
nav_order: 2
Commit changes and push.
git add -A
git commit -m "Your commit message here"
git push
That's it, you're done!
Copyright 2020 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.