https://cds-snc.github.io/policy-politique/
This repository serves as a public archive of past work undertaken by the CDS Policy Team. Learn more on the repository home page.
This website is powered by Hugo running in multilingual mode. It’s hosted by GitHub Pages using the gh-pages package. The visual design is adapted from the CFPB’s DOCter Jekyll theme.
- Install Hugo using the instructions on the Hugo website for your operating system.
- Install npm if not already installed, using the nodejs instructions here.
- Clone the repository to your computer.
- Use npm to install the gh-pages package, by running
npm installinside the repository folder.
To preview changes to the website locally, run:
hugo server --disableFastRender
Then open the local site at http://localhost:1313/policy-politique/.
(Note that localhost without the policy-politique subfolder path will return a 404 error.)
To push new changes to the deployed GitHub Pages site, run:
npm run deploy