Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(partials): Parse function to (re)name partials. #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djaax
Copy link

@djaax djaax commented Mar 25, 2021

We need more flexibility when it comes to naming partials and don't want to be constrained by our folder structure.

For example, we have

/components
    /button
        button.hbs
    /template
        otherTemplate.hbs

Currently, this names the partial button/button and template/otherTemplate.

This renaming function allows more flexibility, e.g., naming the two templates button and otherTemplate, ignoring the folder structure.

@UziTech
Copy link

UziTech commented Mar 25, 2021

All new development of express-handlebars is done on a new repo express-handlebars/express-handlebars. Please create a PR there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants