Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jgaskins/html_fragment_example
- Owner: jgaskins
- License: mit
- Created: 2024-02-17T10:14:48.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-17T10:14:55.000Z (11 months ago)
- Last Synced: 2024-12-09T10:55:42.938Z (25 days ago)
- Language: Crystal
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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