Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jgaskins/html_fragment_example

HTML template fragments example
https://github.com/jgaskins/html_fragment_example

Last synced: 24 days ago
JSON representation

HTML template fragments example

Awesome Lists containing this project

README

        

# Armature HTML Fragment Example

This is an example of [HTML template-fragment rendering](https://htmx.org/essays/template-fragments/) for use with tools like [HTMX](https://htmx.org).

## Usage

Check out the [live demo](https://armature-template-fragments.jgaskins.lol/contacts), or to run it locally, clone the repo:

```bash
git clone https://github.com/jgaskins/html_fragment_example
```

Install dependencies:

```bash
shards install
```

Then run the app:

```bash
crystal run src/html_fragment_example.cr
```

## Development

TODO: Write development instructions here

## Contributing

1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [Jamie Gaskins](https://github.com/jgaskins) - creator and maintainer