HTML Rust Templating - A runtime HTML templating library for Rust. Template files are syntactically valid HTML
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Charlotte Som 36397135ad Rename ArrayIndex instruction to ArrayGet 4 weeks ago
src Rename ArrayIndex instruction to ArrayGet 4 weeks ago
.gitignore Initial commit 1 month ago
Cargo.toml Implement variable interpolation and for loops 1 month ago
README.md Implement variable interpolation and for loops 1 month ago

README.md

hrt-templates

HTML Rust Templating.

Usage

Templates are syntactically valid HTML, but with syntax for variable interpolation and custom elements that do template control flow:

<p>hello, world!</p>

<ul>
  <!-- a classic for each loop -->
  <for- each="name" in="entries">
    <li>{name}</li>
  </for->
</ul>