Lego
We use a repository called lego that lets us easily share and reuse templates, models, assets, databags, and plugins across our sites. It's intended to be added as a submodule, to keep the style and assets up-to-date between sites.
You won't use this repo directly. You'll usually clone it as a submodule:
git clone https://gitlab.torproject.org/tpo/web/tpo
cd tpo
git submodule update --init
# or
git clone --recurse-submodules https://gitlab.torproject.org/tpo/web/tpo
Some parts of lego are modular, and let you pick which functionality you want. Those parts have their own documentation: