handlebars_sprig 0.3.0

handlebar template function helpers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use handlebars::Handlebars;

pub mod date;
pub mod gist;
pub mod math;
pub mod strings;
pub mod tweet;

pub fn addhelpers(x: &mut Handlebars) {
    strings::addhelpers(x);
    math::addhelpers(x);
    date::addhelpers(x);
    tweet::addhelpers(x);
    gist::addhelpers(x);
}