Filters for the Askama templating engine
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Steven vanZyl e3837e6f0f update pulldown-cmark 5 mēnešus atpakaļ
src Improved error 5 mēnešus atpakaļ
.gitignore Skeleton 5 mēnešus atpakaļ
Cargo.toml update pulldown-cmark 5 mēnešus atpakaļ
LICENSE Added license 5 mēnešus atpakaļ
README.md Skeleton 5 mēnešus atpakaļ

README.md

Askama Filters

Additional template filters for the Askama templating library.

Using

This library is intended to be used alongside Askama and is effectively useless without it.

Inside any module that is defining an Askama Template just use askama_filters::filters; and they will be available in the HTML template.

If you wish to use this library in addition to your own filters create a module named filters and add use askama_filters::filters::* to it. Then import that module wherever you are creating Templates and both sets of filters should be available.

Building

This is a standard Rust project so just use:

$ cargo build

Contributing

Contributions are very welcome, feel free to open a pull request or an issue!