zineland / zine

Zine - a simple and opinionated tool to build your own magazine.
https://zineland.github.io
Apache License 2.0
887 stars 39 forks source link

Zine V0.14.0 / Panic on Start / Using master rustmagazine #217

Closed Bas-Man closed 1 year ago

Bas-Man commented 1 year ago
listening on http://127.0.0.1:3000
thread 'tokio-runtime-worker' panicked at 'Failed to render author page: could not render include: error in "footer_template.jinja" (in base.jinja:54)

Caused by:
    unknown filter: filter date is unknown (in footer_template.jinja:51)', src/entity/zine.rs:411:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Watch build error: task 10 panicked

Running on Mac Using latest brew install.

Folyd commented 1 year ago

Thanks, @Bas-Man. We migrated from tera to minijinja via https://github.com/zineland/zine/pull/214, minijinja has no built-in filter called date, so it panicked. One of solutions is to remove the date filter, see also: https://github.com/RustMagazine/rustmagazine/pull/88/files