Note: The old EFF Style Guide website (https://guide.ethnicity-facts-figures.service.gov.uk)
has been replaced by
the Style Guide pages within the main EFF website (https://www.ethnicity-facts-figures.service.gov.uk/style-guide).This repository will be archived.
To edit the style guide, see the Style Guide views and Style Guide templates in the main EFF repository
This is the code and content for the Style guide for the Ethnicity facts and figures website.
The content for this website is saved as Markdown files.
The templates are are saved within _layouts, and use the Liquid templating language.
The website built using Jekyll. You can also preview this locally by following these steps:
- Install Ruby (preferably the latest version)
- Install bundler, if not already installed, by running
gem install bundler
- Run
bundle install
to install the required dependencies. - Run
bundle exec jekyll serve
to run the website locally. You can then view it athttp://localhost:4000/
The website is deployed as a GitHub Pages site automatically from the master branch, so any changes merged to master will be (almost) immediately visible on the live site.
The site has a CNAME record in AWS Route 53 to make guide.ethnicity-facts-figures.service.gov.uk
point to the GitHub
style guide site at racedisparityaudit@github.io
, enabling the website to be served at:
https://guide.ethnicity-facts-figures.service.gov.uk