Skip to content

Move logic out of the Nunjucks views #147

@cmenon12

Description

@cmenon12

What feature do you want to see added?

Move logic out of the Nunjucks views and into the TS route functions.

Why do you want this feature? Does it solve a problem?

Some (e.g., results.njk) have a lot of logic, for example if statement and for loops. It's safer to include these in the TS routes.

How should the feature be implemented?

Consider what logic can be reused to reduce duplication.

Additional context (if applicable)

No response

Metadata

Metadata

Labels

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions