Skip to content
Site for Tech Workers Coalition
HTML CSS Ruby JavaScript Shell
Branch: develop
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
_i18n Add Chicago local to TWC site Feb 11, 2020
_includes upgrade jquery,fix image path and load asynchronously Oct 17, 2019
_layouts Show current language in bold black letters and remove delimiter. Jul 21, 2019
_posts Initial commit; migration of cms to jekyll Feb 6, 2017
_sass upgrade jquery,fix image path and load asynchronously Oct 17, 2019
assets Move normalze.css and main.scss inside _includes folder Oct 14, 2019
city_local Merge pull request #193 from rossPatton/develop Feb 13, 2020
climate Cleanup Oct 6, 2019
script remove htmlproofer checker Feb 17, 2020
summer-learning-club pass html check Sep 17, 2019
.gitignore skip_cleanup Nov 10, 2019
.java-version hotfix legal-aid Sep 30, 2018
.ruby-version upgrade ruby to secure and latest version Jun 23, 2019
.travis.yml openjdk8 Nov 10, 2019 REMOVE: 404.html Oct 9, 2019
Gemfile [build] add travis ci config Sep 17, 2019
Gemfile.lock Merge pull request #194 from techworkersco/depfu/update/nokogiri-1.10.8 Feb 17, 2020 Reduce number of hyperlinks, to ease reading Sep 17, 2019
_config.yml fix indentation in _config.yml Oct 14, 2019 add calendar Jun 27, 2017 Change text Feb 17, 2020 Update Nov 4, 2019 Add I18n gem with default english language Jul 16, 2019 remove Github from list of social handles Feb 28, 2018 fix email address Nov 3, 2018 pass html check Sep 17, 2019
s3_website.yml Revert "Remove travis.yml, related scripts" Nov 9, 2019 Update links and add locals Oct 13, 2019

TWC Site

Build Status

This repository is responsible for most content visible on the website The site is made with a static site generator called Jekyll in a language called Ruby.

Getting Started

  1. Install dependencies: bundle install
  2. Start a local server: bundle exec jekyll serve

Open a browser to localhost:8080

Add your city

If your city's TWC chapter is not mentioned in the website, link to it on the homepage here and if you want a markdown page see the other examples here.


I18n (internationalization) is made available with the jekyll-multiple-languages-plugin. When a page has a translated version available, a link will show up on the top right if you use the default_translate layout. English is the default language, while other languages have their two letter ISO code prefixed, for example for Russian.

Adding new language

  1. Add new language key to en.yml
  2. Add two letter iso code in config. The order here determines the order shown on the page. English must be first.
  3. Inside the i18n directory create a
  • LANGUAGE/ (where LANGUAGE is two letter ISO code for that language)
  • LANGUAGE.yml with the language key and value in its own language, for example es: Español

Note, only the default en.yml must contain the names of each language. The other language yml files contain just their own language key.

Screen Shot 2019-07-21 at 14 48 46


Each translation file, should have same version as other languages. Sometimes that is not possible, and having different versions, helps document the disparities. For example, a new city is added, but no translation is provided in Russian yet.

Supported Pages

  • Landing Page (home.html in each Language directory)

Supported Languages

  • English
  • Russian
  • Italian
You can’t perform that action at this time.