This project is a Jekyll-based website template using the GCWeb theme. It integrates PostCSS for advanced CSS transformations and a Grunt build system to automate tasks such as minification, copying assets, and serving the site.
- v1.x (in development):
- Create a Retirement Hub (RH) 2.0 thematic:
- Use the draft retirement thematic as a starting point
- Create a Retirement Hub (RH) 2.0 thematic:
- v2.x:
- Integrate pre-existing life event thematics:
- v3.x:
- Consolidate custom CSS/JS where possible (i.e. "share" the same CSS across all life events, use event-specific overrides for colour schemes, etc...)
- Ongoing:
- Standardize handy features and utility styles in WET/GCWeb (e.g. tag filter "OR" option,
d-md-flexclass, etc...) - Backport bug fixes to WET/GCWeb (e.g. toggle
"print": "on"setting keepingdetailselements expanded after printing, JSON manager requiring absolute JSON URLs, etc...) - Add "net-new" life events
- Standardize handy features and utility styles in WET/GCWeb (e.g. tag filter "OR" option,
- Jekyll for static site generation
- GCWeb theme for accessibility compliance
- Grunt for task automation
- Fork the repository
- Activate GH Pages in your fork
- Edit your content through GitHub
- Open a pull request
Before you begin, ensure you have the following installed:
- Ruby (Check with
ruby -v) - Bundler (
gem install bundler) - Node.js & npm (Check with
node -vandnpm -v) - Grunt CLI (
npm install -g grunt-cli)
- Git for Windows
- Node.js (recommended version... i.e. active LTS release)
- RubyInstaller for Windows (recommended Ruby+Devkit version)
- Clone the repository:
git clone https://github.com/your-repo/canada-life-events.git cd canada-life-events - Install dependencies:
bundle install npm install
- Build the assets and serve the site locally:
The site should now be accessible at
bundle exec jekyll servehttp://localhost:4000/.
- To build the distribution files, run:
grunt
- The processed files will be available in the
dist/directory.
Jekyll website
project-root/
├── _config.yml # Jekyll configuration
├── Gruntfile.js # Task running
├── package.json # Contains the version number of Canada.ca life events
├── Gemfile # Ruby dependencies
└── README.md # Project documentation
See CONTRIBUTING.md
See SECURITY.md
See LICENSE.md