Replace askama with rinja (#276)

This commit is contained in:
Guillaume Gomez 2024-10-02 23:43:13 +02:00 committed by GitHub
parent f71b0cd178
commit 1838fdaea4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 82 additions and 53 deletions

View file

@ -5,10 +5,10 @@ use crate::{
subreddit::{can_access_quarantine, quarantine},
RequestExt,
};
use askama::Template;
use hyper::{Body, Request, Response};
use once_cell::sync::Lazy;
use regex::Regex;
use rinja::Template;
// STRUCTS
struct SearchParams {