8000 File Naming Inconsistency in Templates · Issue #266 · kgpmask/MASK · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
File Naming Inconsistency in Templates #266
Open
@ItsAnkan

Description

@ItsAnkan

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

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)

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

      0