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

Use relative path for template names when parsing a theme #104

Open
kabukky opened this issue Oct 15, 2017 · 0 comments
Open

Use relative path for template names when parsing a theme #104

kabukky opened this issue Oct 15, 2017 · 0 comments

Comments

@kabukky
Copy link
Owner

kabukky commented Oct 15, 2017

When parsing templates, only the file name (without ".hbs") is used as the template name. Therefore, templates in subdirectories cannot have the same name as templates in other directories. This might cause issues with complex themes.

Templatenames should probably include the relative path from the theme root. E. g. "article/body" for "/article/body.hbs".

@kabukky kabukky changed the title Use realative path for template names when parsing a theme Use relative path for template names when parsing a theme Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant