NAME

App::Dapper::Filters - Default Liquid filters available to all projects.

DESCRIPTION

Filters contained here can be called from Liquid template files using the filter/pipe mechanism built in to Liquid. Example:

{{ site.time | date_to_xmlschema }}

import

Called when this module is 'used' from somewhere else. This subroutine registers Liquid filters contained in this file.

xml_escape

Liquid filter to escape strings into formats that can be included in XML files.

date_to_xmlschema

Convert a date to an XML-formattted version of the date that also includes the timezone.

replace_last

Liquid filter to replace the last occurrance of a string with another string.

smart

Replace dashes with mdashes and ndashes.

json

Turn string into json-formatted string.