source for learnlayout.com
JavaScript Ruby
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 199 commits behind incompl:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_plugins
templates
translations
.gitignore
Gruntfile.js
README.textile
package.json

README.textile

This is the source for learnlayout.com in case you’re curious how it was built.

How to Build

  • If needed, install NPM
  • If needed, install grunt
  • If needed, install jekyll sudo gem install jekyll
  • If needed, install pygments
  • Build + run test server with grunt jekyll
  • or build only with grunt jekyll:dev or grunt jekyll:prod

How to Translate

Translation files live in the translations directory. Each file is a 2-letter ISO 639-1 language code and the YAML file extention.

If you’re not familiar with YAML, it’s a very simple human-readable data format. Each line contains a translation code, a colon, and a value in quotes. The translation codes are the same in every language, and the actual translation on the right is in the appropriate language for the file.

To contribute to a translation, start with en.yaml and either email me translated YAML files or make pull requests against this repository if you know how.

To test a translation, change the lang property in _config.yml before you build.