Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
community
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Web
  • community
  • Wiki
  • lego

Last edited by Hiro Feb 05, 2020
Page history

lego

Lego

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.

Assets

Here is where you can find shared assets for all the websites

  • assets

Databags

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

  • databags

Models

At the moment lego holds only one model. This is the model for a page that redirects to a different resource

  • models

Packages

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.

  • plugins

Templates

Shared templates and macro are stored in this folder.

  • templates
Clone repository
  • Compiling a local version of the website
  • Git flow and merge requests
  • How to add images
  • How to create a child page
  • How to develop on the website
  • How to enable a new locale
  • How to publish a newsletter
  • Our Workflows
  • Use dip to edit websites
  • Writing the content
  • edit button
  • Home
  • lego
  • ready for translation