use crate::templates::{self, RenderRucte}; use warp::{ http::{Response, StatusCode}, path, Filter, Rejection, Reply, }; pub async fn index() -> Result { Response::builder().html(|o| templates::index_html(o)) } pub async fn contact() -> Result { Response::builder().html(|o| templates::contact_html(o)) } pub async fn feeds() -> Result { Response::builder().html(|o| templates::feeds_html(o)) }