Is it possible to import mustache templates in other templates?
For example: I have common code in
header.mustache
footer.mustache
Can I import them in search.mustache?
Is it possible to import mustache templates in other templates?
For example: I have common code in
header.mustache
footer.mustache
Can I import them in search.mustache?
There is no support for mustache partials. Sorry.
Thanks Glen!
Is there any other way to solve such problem? Or I have to copy same snippet in all templates which is redundant work
I guess you could do some scripting to perform the merges for you.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.