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

include template in other template #67

Open
nboury-vsct opened this issue Jan 11, 2017 · 2 comments
Open

include template in other template #67

nboury-vsct opened this issue Jan 11, 2017 · 2 comments

Comments

@nboury-vsct
Copy link
Contributor

In particular case, I would like to include some templates in a global template.
For example I have a module "foo" containing:

  • a template tp1
  • a template tp2
  • a template tp3

And the goal is to create a template tp-global containing (@include is inspired by annotations already used in hesperides, but it can be another way) :
{{@include tp1}}
{{@include tp2}}

@Lucas-C
Copy link
Member

Lucas-C commented Oct 30, 2018

Hi @nboury-vsct
We would like a few more details on this feature request, in order to measure the cost vs benefit of implementing it :

  • would this help you in only a few situations or many ? Do you wish this in order to have more template reusability ?
  • do you have a specific example you could show us of a module / template where you need this ?

Also, we would have to move this request on the "hesperides" project as it impacts the backend, not the frontend

@Lucas-C
Copy link
Member

Lucas-C commented Oct 21, 2019

A statuer : ce @include référencerait un template du même module ?

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

3 participants