Help & Support Getting started Running at your event Confwall states Search tips & blacklist Styling Themes Configuring your schedule Multiple tracks Template helpers Pricing FAQ (All topics)
Logout
Confwall

Template helpers

There are a limited number of helpers available to the templates. The templating language is Handlebars.

moment

Moment is used for date formatting.

The following uses the moment helpers and formats the schedule.start value to HH:mm

<p>Next: {{moment start 'HH:mm'}}</p>

If the schedule.start value is 2014-11-07T09:50:00.000Z the result would be:

<p>Next: 09:50</p>

See the momentjs documentation for full display format options.

replace

Replace will take a string, a search value and replacement value. This is useful if you wanted to show a high resolution twitter avatar for instance:

<img width="200" height="200" src="{{replace profile_image_url '_normal' '_200x200'}}">

Since the profile_image_url has a value of https://pbs.twimg.com/profile_images/532252098143211520/HEEpZV3Z_normal.jpeg the result is:

<img width="200" height="200" src="https://pbs.twimg.com/profile_images/532252098143211520/HEEpZV3Z_200x200.jpeg">