Update template-fragments.md (#1145)

This commit is contained in:
Sumit Sarkar 2022-12-02 09:25:48 +05:30 committed by GitHub
parent 105a894e21
commit 8aacfdbe2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,7 @@ Here are some known implementations of the fragment concept:
* Java
* [Thymeleaf](https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#fragment-specification-syntax)
* [Chill Templates (currently in early alpha)](https://github.com/bigskysoftware/chill/tree/master/chill-script)
* [Quarkus Qute](https://quarkus.io/guides/qute-reference#fragments)
* PHP
* [Latte](https://latte.nette.org/en/template-inheritance#toc-blocks) - Use the 3rd parameter to only render 1 block from the template - `$Latte_Engine->render('path/to/template.latte', [ 'foo' => 'bar' ], 'content');`
* Python