mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 13:31:06 +00:00
Update template-fragments.md (#1942)
Added a link to Laravel Blade's implementation of template fragments
This commit is contained in:
parent
c7f9dcb682
commit
a2830aa2df
@ -142,6 +142,7 @@ Here are some known implementations of the fragment concept:
|
||||
* [JStachio (mustache)](https://jstach.io/doc/jstachio/current/apidocs/#mustache_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');`
|
||||
* [Laravel Blade](https://laravel.com/docs/10.x/blade#rendering-blade-fragments) - includes built-in support for template fragments as of v9.x
|
||||
* Python
|
||||
* [Django Render Block Extension](https://pypi.org/project/django-render-block/) - see [example code for htmx](https://github.com/spookylukey/django-htmx-patterns/blob/master/inline_partials.rst)
|
||||
* [jinja2-fragments package](https://github.com/sponsfreixes/jinja2-fragments)
|
||||
|
Loading…
x
Reference in New Issue
Block a user