Skip to content
Snippets Groups Projects

Remove unused URLs for other themes other than CERN/base

Merged Luis Aleixo requested to merge feature/default_cern_urls into master

Based on the value of the CAIMIRA_THEME environment variable, the list of available urls will change:

  • If None is declared, the url list remains as before;
  • If caimira/apps/templates/cern is declared, the url list remains as before;
  • Any other value will result in a reduced url list: home, form, static files and report.

It is possible to define any generic page via the EXTRA_PAGES env. variable, as detailed here.

Given that the logic for the urls changes, the /about and /calculator/user-guide urls will be in the default list, and not defined by the EXTRA_PAGES variable, which is the empty list by default.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading