Lego contains the building blocks shared by all torproject.org websites. Theser are templates, plugins, databags, assets.
Each website repository has a submodule called lego. This is how the lego common elements are imported. Lego is imported in the main repository and the single files are sym-linked to their relative folders. Ex: header template in torproject.orgg main website.
Here is where you can find shared assets for all the websites
Some databags are shared for all the websites so that when something needs to be changed we don't have to edit the same file serveral times
At the moment lego holds only one model. This is the model for a page that redirects to a different resource
Here is where all the used plugins are stored. If a new plugin is added to one of the websites needs to go in here.
Shared templates and macro are stored in this folder.