Module telescope::templates::helpers[][src]

Expand description

Handlebars helpers.

Functions

Handlebars helper to extract the domain and subdomain of a URL.

Handlebars helper to format dates. This should be able to accept a value of either a date or a timestamp or a timestamp with timezone, and format the date as “Month Day, Year”.

Handlebars helper to properly format a meeting type.

Handlebars helper to format time information.

Helper to render a user role variant via Display trait.

Helper to parse and render a markdown string.

Register the custom handlebars helpers to the handlebars registry.

Helper to urlencode a query string. This accepts a series of hash arguments and encodes all of them.

Wrap a two-argument helper function into a helper object to add to the handlebars registry.