Skip to content

File Naming Inconsistency in Templates #266

Description

@ItsAnkan

The template naming under the src/templates folder is inconsistent as of now, some uses hyphens( - ) and some uses underscore( _ ).

Things to be done:

  • Rename all the files to use hyphens instead. (As we are using hyphens in the URLs)
  • Change the folder templates/govportal to templates/gov-portal.
  • Change govportal/govportal.njk to gov-portal/_gov_portal.njk. (Since all the boilerplates start with underscores( _ ))

When you make these changes, you are also required to reflect these changes where these file paths are used (for eg, in routes, etc)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clean codeLint, consistency and prettifying of codeeasy stuffGood for newcomers, or if you want to do something quick

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions