This is a static website using Jekyll.
_data
: contains anavigation.yml
file for specifying the main website naviationadmin
: contains the configuration files for Netlify CMSassets
: media folder for images and filescdfg-theme
: see "Theme Files" belowcollections
: contains markdown files for the website content divided by content typepages
: contains markdown files that define the layout and content for each of the main pages
To run the website on your local machine, do the following:
- Clone this repository and
cd
into thecdfg
folder. - Install Jekyll by running
gem install bundler jekyll
. (This assumes you already have Ruby installed on your machine) - Start Jekyll by running
bundle exec jekyll serve --livereload
- You should now have a local server running at
http://localhost:4000
The cdfg-theme
folder contains the various HTML templates used in the site, along with CSS and Javascript files.
This theme uses Gulp to compile and concatenate SCSS files to CSS, and to concatenate and minify JavaScript files.
In order to modify the CSS and Javascript files, you'll need to run the following in a seperate terminal session:
- Make sure you have Node and NPM installed on your machine
cd cdfg-theme
npm install
gulp