mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-19 07:30:58 +00:00
Replace askama
with rinja
(#276)
This commit is contained in:
parent
f71b0cd178
commit
1838fdaea4
11 changed files with 82 additions and 53 deletions
|
@ -3,8 +3,8 @@ use crate::client::json;
|
|||
use crate::server::RequestExt;
|
||||
use crate::utils::{error, filter_posts, format_url, get_filters, nsfw_landing, param, setting, template, Post, Preferences, User};
|
||||
use crate::{config, utils};
|
||||
use askama::Template;
|
||||
use hyper::{Body, Request, Response};
|
||||
use rinja::Template;
|
||||
use time::{macros::format_description, OffsetDateTime};
|
||||
|
||||
// STRUCTS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue