You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.
I'm evaluating moving from Pelican to Wok, but I have a number of custom jinja2 filters installed in Pelican that I don't want to lose. Is there a Wok mechanism to install custom filters? As an example, I have the following filter:
def ago(dto, *args):
"""Return the number of seconds ago the passed datetime object
was."""
return (datetime.now(pytz.timezone(TIMEZONE)) - dto).total_seconds()
to custom sort some entries.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm evaluating moving from Pelican to Wok, but I have a number of custom jinja2 filters installed in Pelican that I don't want to lose. Is there a Wok mechanism to install custom filters? As an example, I have the following filter:
to custom sort some entries.
The text was updated successfully, but these errors were encountered: