This repository is based on Jekyll Now, developed by Barry Clark, a former employee of CTOs for Good member organization DoSomething.org. Thanks for all of your work both on Jekyll Now and on DoSomething.org, Barry!
- Open
_data/members.yml
. Copy any existing member block of text, append to end of the file, end edit accordingly for the new member. - Save 600x600 headshot to ./images/members/*.jpg (Crop as necessary)
- Save 400x140 org logo to ./images/logos/*.png (Add whitespace/transparent space as necessary.)
- Commit changes.
- Cut and paste their block from
_data/members.yml
over to_data/alumni.yml
- Commit changes.
See Jekyll Now for full details. For other CTOs assisting with site updates, here's the most vital piece:
- Install Jekyll and plug-ins in one fell swoop.
gem install github-pages
This mirrors the plug-ins used by GitHub Pages on your local machine including Jekyll, Sass, etc. - Clone the repo to your local machine
git clone https://github.com/ctosforgood/ctosforgood.github.io.git
- Serve the site and watch for markup/sass changes
jekyll serve
- View your website at http://127.0.0.1:4000/
- Commit any changes.
- Push everything to the master branch or send a pull request. Once committed or merged, GitHub Pages will then rebuild and serve your website.