I\'m new to Mustache.
Many templating languages (e.g., Django / Jinja) will let you extend a \"parent\" template like so...
If you're happy with a server-side only code, Nun is a Mustache-like templating system with extends functionality via its 'template overrides' feature - modelled on django. While it works, however, it is no longer maintained by its author.