Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
1cg committed Nov 5, 2024
2 parents b37b438 + e88bc9b commit e5e8d9c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions www/content/essays/template-fragments.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ Here are some known implementations of the fragment concept:
* [Chill Templates (currently in early alpha)](https://github.com/bigskysoftware/chill/tree/master/chill-script)
* [Quarkus Qute](https://quarkus.io/guides/qute-reference#fragments)
* [JStachio (mustache)](https://jstach.io/doc/jstachio/current/apidocs/#mustache_fragments)
* JavaScript
* [Jeasx](https://www.jeasx.dev) - see [example for htmx](https://expo.jeasx.dev/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
Expand Down
2 changes: 1 addition & 1 deletion www/content/examples/confirm.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ which is then picked up by `hx-trigger`.
// The event is triggered on every trigger for a request, so we need to check if the element
// that triggered the request has a hx-confirm attribute, if not we can return early and let
// the default behavior happen
if (!evt.detail.target.hasAttribute('hx-confirm')) return
if (!e.detail.target.hasAttribute('hx-confirm')) return
// This will prevent the request from being issued to later manually issue it
e.preventDefault()
Expand Down
9 changes: 9 additions & 0 deletions www/content/server-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ These examples may make it a bit easier to get started using htmx with your plat

- <https://github.com/rajasegar/awesome-htmx>

## Julia

- https://github.com/leephillips/juliaVortexWeb/
- https://github.com/leephillips/pluckit

## JavaScript

### Node.js
Expand Down Expand Up @@ -210,6 +215,10 @@ These examples may make it a bit easier to get started using htmx with your plat
- <https://github.com/chasefleming/elem-go/tree/main/examples/htmx-fiber-counter>
- <https://github.com/chasefleming/elem-go/tree/main/examples/htmx-fiber-todo>

### htmgo

- <https://htmgo.dev>

## Delphi

### DelphiMVCFramework
Expand Down

0 comments on commit e5e8d9c

Please sign in to comment.