Skip to content

Commit

Permalink
mention tera builtins in readme (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
backwardspy authored Apr 1, 2024
1 parent a6b8d71 commit 034c4d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions whiskers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ These types are designed to closely match the [palette.json](https://github.com/
| `urlencode_lzma` | Serialize an object into a URL-safe string with LZMA compression | `red \| urlencode_lzma()` => `#ff6666` |
| `trunc` | Truncate a number to a certain number of places | `1.123456 \| trunc(places=3)` => `1.123` |

> [!NOTE]
> You also have access to all of Tera's own built-in filters and functions.
> See [the Tera documentation](https://keats.github.io/tera/docs/#built-ins) for
> more information.
## Frontmatter

Whiskers templates may include a frontmatter section at the top of the file.
Expand Down

0 comments on commit 034c4d9

Please sign in to comment.