dweinberger / newclues

56 stars 19 forks source link

Move translations to a YML file, rather than hard coding them in the layout (template) #12

Closed benbalter closed 9 years ago

benbalter commented 9 years ago

This moves the list of translations that were previously hard coded into the default layout to a separate YML file (_data file) where they can be more easily updated. The data file is a list of language/url pairs indicated by a -, just like the clues preamble. You can see the data format below.

This pull request also removes the unused translations.html and updates the default layout to use the YAML-stored translations, rather than the hard-coded versions.